11 lines
328 B
TypeScript
11 lines
328 B
TypeScript
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;
|