Open jcristovao opened 8 years ago
tcomb-validation
exports just 3 APIs:
1
validate(value, type, [options]) -> ValidationResult
2
ValidationResult
3
ValidationError
besides re-exporting the whole tcomb
so it should be doable.
My only doubt is how to re-export tcomb
without duplicating the typings.
Hi,
So, following this, I guess the next logical step would be to provide typescript definitions for tcomb-validation. Would it be easier to implement?