4 ms·
> ...but presumably it’s possible to use TypeScript with QuickJS? I don't see why not, since TS compiles down to JS. The engine doesn't know or care about what
by sampullman 2y ago
> ...but presumably it’s possible to use TypeScript with QuickJS?
I don't see why not, since TS compiles down to JS. The engine doesn't know or care about what kind of transformations the code went through before it was JS. You might need to be careful about compatibility, the QuickJS intro says 'Almost complete ES2023 support", so you'd have to avoid any unsupported features.