clsx.d.mts
This file
Path
clsx.d.mts
6 lines · 278 bytes · TypeScript
Last changed by
fix(types): include `bigint` in `ClassValue` type (#96)Viliam Kopeckýbefore adoption3d960ab
History of this fileTake it
fix(types): include `bigint` in `ClassValue` type (#96)Viliam Kopeckýbefore adoption3d960ab
line 1why, one step back1export type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;break: include "exports" map w/ "types" conditions (#57)Remco Haszingbefore adoption3ec8e9f
lines 2–6why, one step back2export type ClassDictionary = Record<string, any>;3export type ClassArray = ClassValue[];45export function clsx(...inputs: ClassValue[]): string;6export default clsx;