Skip to content

Commit

Permalink
fix(typings): Fixed TypeScript compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
grantila committed Feb 2, 2023
1 parent 51e0c37 commit 80c2b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validators/functional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export type ValuesOf< T extends { } > = T[ keyof T ] & unknown;

export type FlattenObject< T > = { [ K in keyof T ]: T[ K ] & unknown; };

export type AdditionalProperties< T, U > =
export type AdditionalProperties< T extends { }, U > =
FlattenObject< T & Record< string, U | ValuesOf< T > > >;

export type TypeOf< T, InclRequired = false > =
Expand Down

0 comments on commit 80c2b2b

Please sign in to comment.