<ValuesType>() => (fields: Fields) => FormConfig
createForm is a curried function that can be used to create an instance of
Why is it curried?
Currently TypeScript doesn't support a feature called
partial type argument inference which has some work arrounds, one of them is to use curried functions. This issue is well known and part of typescript roadmap. Once this feature is introduced the API will be changed accordingly.
Type of field values.
Object of fields (see
Field for configuration details).
Needs to match with properties of