4 ms·
Does anyone know if I have a TypeScript project, is there an automated process to turn it into this format this article describes? Eject for TS, I guess.
by jchanimal 3y ago
Does anyone know if I have a TypeScript project, is there an automated process to turn it into this format this article describes? Eject for TS, I guess.
- iraldir 3y agoGPT-4 would probably do a good job at that if the code is not sensitive
- Firmwarrior 3y agoIs there some way to load an entire large project into gpt4? Or do you mean to have it translate one file at a time without context?
- deleted 3y ago[deleted]
- graftak 3y agoTypescript is a superset of Js/tsdocs so you’ll probably get a long way but at some point the types will be dumbed down.
- gsuuon 3y agoYou can probably do this with the typescript compiler API https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API https://github.com/microsoft/TypeScript/wiki/Using-the-Compi...
- jchanimal 3y agoKinda seems like the dreamiest build target.