DEV Community

Discussion on: Make Typescript less typesafe

Collapse
 
ssimontis profile image
Scott Simontis

I feel like your best bet to "do it the rightish way" would be creating some sort of code generator which could either parse the Java stdlib, pull method signatures from library files, or maybe even read code-completion data from another IDE like Eclipse. But I can see that getting out of hand and becoming a thesis project really quickly, haha.

I have used Flow before, and there is definitely a lot less support in terms for editor/IDE extensions, and I had the impression that the project had lost a lot of steam.

Thanks for posting this adventure though, I always love reading the insightful questions you post!

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

Oh man the result of this was a 5 hour build job, even declaring all the globals as any from the Java stdlib was really slow for the language server and vscode to handle. Unserpising.. I think I will give up on this for now