11 lines
328 B
Plaintext
11 lines
328 B
Plaintext
|
declare namespace clsx {
|
||
|
type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
|
||
|
type ClassDictionary = Record<string, any>;
|
||
|
type ClassArray = ClassValue[];
|
||
|
function clsx(...inputs: ClassValue[]): string;
|
||
|
}
|
||
|
|
||
|
declare function clsx(...inputs: clsx.ClassValue[]): string;
|
||
|
|
||
|
export = clsx;
|