Skip to content

Commit 4afc03b

Browse files
authored
fix(io-ts resolver): types (#455)
1 parent 467b6ac commit 4afc03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io-ts/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ResolverResult,
77
} from 'react-hook-form';
88

9-
export type Resolver = <T, TFieldValues, TContext>(
9+
export type Resolver = <T, TFieldValues extends FieldValues, TContext>(
1010
codec: t.Decoder<FieldValues, T>,
1111
) => (
1212
values: TFieldValues,

0 commit comments

Comments
 (0)