Skip to content

Commit

Permalink
fix(types): include bigint in ClassValue type (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliamKopecky authored Apr 23, 2024
1 parent 684509c commit 3d960ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clsx.d.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
export type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
export type ClassDictionary = Record<string, any>;
export type ClassArray = ClassValue[];

Expand Down
2 changes: 1 addition & 1 deletion clsx.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare namespace clsx {
type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
type ClassDictionary = Record<string, any>;
type ClassArray = ClassValue[];
function clsx(...inputs: ClassValue[]): string;
Expand Down

0 comments on commit 3d960ab

Please sign in to comment.