We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467b6ac commit 4afc03bCopy full SHA for 4afc03b
io-ts/src/types.ts
@@ -6,7 +6,7 @@ import {
6
ResolverResult,
7
} from 'react-hook-form';
8
9
-export type Resolver = <T, TFieldValues, TContext>(
+export type Resolver = <T, TFieldValues extends FieldValues, TContext>(
10
codec: t.Decoder<FieldValues, T>,
11
) => (
12
values: TFieldValues,
0 commit comments