react-advanced-form
react-advanced-form copied to clipboard
TypeScript type definitions
Introduces a basic typings in TypeScript.
Subjected to merge after a prior discussion.
What do you think about modularizing type definitions, @ell10t?
No objections here, if it makes it more manageable it's probably not a bad idea.
@ell10t I will try to break it down then.
Apart from that, the only crucial thing that is left is a type definition of that [valuePropName] in various callbacks. Within createField scope it should be possible to do via generics, but I am not sure how to handle it in Form callback methods.
Alright, if I get time I'll have a look into the generics as well.