Skip to content

Commit eed5f71

Browse files
committed
Fix value types
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.
1 parent f2379c3 commit eed5f71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Marvin Hagemeister <https://github.com/marvinhagemeister>
1010

1111
export type Value = string | number | boolean | undefined | null;
12-
export type Mapping = { [key: string]: Value };
12+
export type Mapping = { [key: string]: any };
1313
export type Argument = Value | Mapping | Argument[];
1414

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

0 commit comments

Comments
 (0)