ts2buckle
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API using the typescript compiler to emit bindings in a semi-automatic way, note that it is very hard to make this fully automatic, I would expect generate some ocaml templates from the compiler API and fix it by hand
This would be great, especially with the huge number of existing typescript definitions (and high activity) in DefinitelyTyped.
Can you elaborate on why would it be very hard to make this fully automatic? Leveraging this would probably make BuckleScript much, much more popular, as it could basically become a viable competition for TypeScript.
@niieani since they have different type systems with different expressivity (and runtime encoding). We can only provide this in a best effort solution
Has there been any progress in this ? I agree that this will make rescript more popular and stronger language.