Transpile into Babel/tcomb syntax #5125
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Out of Scope
This idea sits outside of the TypeScript language design constraints
Suggestion
An idea for TypeScript
I know this is a stretch, but what if you could set a flag to transpile TS code into code that would be readable by
babel-plugin-tcomb
, which came out recently? This would enable runtime type checking, which I previously brought up in #1573, but it would require interfaces be transpiled into structs:becomes...
If not provided directly by the compiler, the same could be achieved by a 3rd party module, if only a concrete syntax tree #625 were provided.
Related issues:
The text was updated successfully, but these errors were encountered: