Skip to content
Myr

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 file

Take it

fix(types): include `bigint` in `ClassValue` type (#96)Viliam Kopeckýbefore adoption3d960ab

line 1why, one step back
1export 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 back
2export type ClassDictionary = Record<string, any>;
3export type ClassArray = ClassValue[];45export function clsx(...inputs: ClassValue[]): string;6export default clsx;