Skip to content

Commit d9ee27e

Browse files
committed
Added another hint to 74
1 parent 676b630 commit d9ee27e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/09-external-libraries/74-react-hook-form-wrapper.problem.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import { Equal, Expect, Extends } from "../helpers/type-utils";
77
* We want to change the API slightly so that only certain methods are
88
* exposed. We also want to make sure that defaultValues is ALWAYS
99
* required.
10+
*
11+
* A clue: you'll need this line of code:
12+
*
13+
* defaultValues as DefaultValues<TValues>
1014
*/
1115
const useCustomForm = (defaultValues: any) => {
1216
const form = useForm({

0 commit comments

Comments
 (0)