Skip to content

Commit

Permalink
Adding bigint to Value type (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy-Malone-ZOS authored Sep 20, 2023
1 parent 0996422 commit d609b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-facet/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface EqualityCheck<T> {
* Currently functions are not supported
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type Value = string | number | boolean | undefined | null | [] | Record<string, any>
export type Value = string | number | boolean | undefined | null | [] | Record<string, any> | bigint

export type ExtractFacetValues<T extends ReadonlyArray<Facet<unknown>>> = {
[K in keyof T]: T[K] extends Facet<infer V> ? V : never
Expand Down

0 comments on commit d609b6d

Please sign in to comment.