Skip to content

Commit

Permalink
Fix value types
Browse files Browse the repository at this point in the history
A mapping consistes of classnames mapped to a value checked its booliness to
determine if the classnames should be added. These values may be anything,
they’re not related to the allowed class values.
  • Loading branch information
remcohaszing committed Apr 1, 2021
1 parent f2379c3 commit eed5f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Marvin Hagemeister <https://github.com/marvinhagemeister>

export type Value = string | number | boolean | undefined | null;
export type Mapping = { [key: string]: Value };
export type Mapping = { [key: string]: any };
export type Argument = Value | Mapping | Argument[];

export function classNames(...args: Argument[]): string;
Expand Down

0 comments on commit eed5f71

Please sign in to comment.