tcomb-form icon indicating copy to clipboard operation
tcomb-form copied to clipboard

Add TypeScript definitions for tcomb-form

Open RedRoserade opened this issue 7 years ago • 4 comments

This adds TypeScript definitions for tcomb-form, based on the Guide.

A devDependency on @types/react was added for the Form component and the other Component classes.

Similar to the type definition for tcomb-validation, https://github.com/gcanti/tcomb-validation/pull/63, this extends the tcomb module, adding getTcombFormFactory and getTcombFormOptions to t.Type<T>.

I am, however, not sure if the type definitions are 100% complete or accurate. I'd appreciate your feedback to improve them.

RedRoserade avatar Jul 31 '17 19:07 RedRoserade

@RedRoserade this is great, thanks for taking the time to write this definitions

gcanti avatar Aug 01 '17 08:08 gcanti

Why it's still doesn't merged?

bialasik avatar May 14 '18 21:05 bialasik

My bad, there was a pending review which I didn't submit at the time, sorry @RedRoserade

gcanti avatar May 15 '18 01:05 gcanti

Can the above change request please be acted on? It would be really helpful to have Typescript definitions enabled.

marcodafonseca avatar Nov 29 '19 04:11 marcodafonseca