clsx.d.ts
This file
Path
clsx.d.ts
10 lines · 337 bytes · TypeScript
Last changed by
fix(types): include `bigint` in `ClassValue` type (#96)Viliam Kopeckýbefore adoption3d960ab
History of this fileTake it
1234567891011declare namespace clsx { type ClassValue = ClassArray | ClassDictionary | string | number | bigint | 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;