FieldHook typing #7949
Unanswered
hyusetiawan
asked this question in
Q&A
Replies: 1 comment
-
The closest discussion I can see is this: #1851 but no solution there |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
it seems the


data
property is typed asPartial<any>
I have seen on tutorials it seems the data should be strongly typed?I can however manually typed it by generating the typescript and then cast it as
FieldHook<Address>
like sohere's the source code, I wonder if there is a better way to accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions