1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | declare namespace classNames {
|
12 | type Value = string | number | boolean | undefined | null;
|
13 | type Mapping = Record<string, any>;
|
14 | interface ArgumentArray extends Array<Argument> {}
|
15 | interface ReadonlyArgumentArray extends ReadonlyArray<Argument> {}
|
16 | type Argument = Value | Mapping | ArgumentArray | ReadonlyArgumentArray;
|
17 | }
|
18 |
|
19 | interface ClassNames {
|
20 | (...args: classNames.ArgumentArray): string;
|
21 |
|
22 | default: ClassNames;
|
23 | }
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | declare const classNames: ClassNames;
|
29 |
|
30 | export as namespace classNames;
|
31 |
|
32 | export = classNames;
|