by theThree on 5/3/25, 4:48 PM with 7 comments
by primitivesuave on 5/5/25, 9:50 PM
I think what you're trying to build might be best served by Typescript's VFS - https://www.npmjs.com/package/@typescript/vfs. You can load the local files into an in-memory type system, and quickly extract async/await hints that might be more useful for a typical TS developer. I think there's a lot of really interesting static analysis you could do to improve async/await safety, as it certainly leads to issues from time to time.
by bastawhiz on 5/5/25, 9:35 PM
by joshstrange on 5/5/25, 9:59 PM
This should _not_ be an automatic operation since it can change behavior in ways that will be unclear to the developer (completely undoing any gain from them being added automatically).
by xeromal on 5/5/25, 9:50 PM