We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const useCustomForm = () => { // Custom form logic const form = useFrom(); // Return form object return { form } } const useSomething = () => { type FormProperties = ReturnType<typeof useCustomForm>['form']['fieldInfo']; const handleSomething = (from: FieldApi<FormProperties, 'photo', undefined, undefined, string>) => { // Handle something logic } // Return handleSomething function return { handleSomething } }
https://codesandbox.io/p/sandbox/inspiring-dew-c7y3rl
Expect tsc --noEmit to pass
None
No response
0.33.0
5.5.3
The text was updated successfully, but these errors were encountered:
Dupe of #891
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/inspiring-dew-c7y3rl
Steps to reproduce
Expected behavior
Expect tsc --noEmit to pass
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
TanStack Form adapter
None
TanStack Form version
0.33.0
TypeScript version
5.5.3
Additional context
No response
The text was updated successfully, but these errors were encountered: