Open RedRoserade opened 6 years ago
@RedRoserade this is great, thanks for taking the time to write this definitions
Why it's still doesn't merged?
My bad, there was a pending review which I didn't submit at the time, sorry @RedRoserade
Can the above change request please be acted on? It would be really helpful to have Typescript definitions enabled.
This adds TypeScript definitions for tcomb-form, based on the Guide.
A devDependency on
@types/react
was added for theForm
component and the otherComponent
classes.Similar to the type definition for tcomb-validation, https://github.com/gcanti/tcomb-validation/pull/63, this extends the
tcomb
module, addinggetTcombFormFactory
andgetTcombFormOptions
tot.Type<T>
.I am, however, not sure if the type definitions are 100% complete or accurate. I'd appreciate your feedback to improve them.