form
form copied to clipboard
Typescript module @types/react-form does not include hooks
Same problem here. I didn't see anything related to TS in documentation.
Same here.
Any update on this?
+1
While waiting for this to be fix, I've removed the @types/react-form package and made a declarations.d.ts file with these contents:
declare module 'react-form' {
var reactForm: {
Form: any
splitFormProps: any
useField: any
useForm: any
}
export = reactForm
}
In no way is this ideal, but it works
Hello! I have created a Pull Request to the DefinitelyTyped repository. Please, review it.
UPD: Pull Request has been merged, I believe this issue can be closed