-
Notifications
You must be signed in to change notification settings - Fork 428
Description
Hi, thanks for maintaining goja!
TypeScript 7 has raised its minimum supported output target to ES2015 (see microsoft/TypeScript#62196
). This means TS7 no longer emits ES5-compatible code, and modern TypeScript output now depends on ES2015 features such as:
class / extends
let / const
block scoping
Map, Set, Promise
iterators and for..of
default/rest parameters
Since goja implements ES5.1, TS7-generated code cannot run without an additional transpilation step or extensive polyfills.
Request
Would it be possible for goja to add ES2015 language and built-in support so that TypeScript 7+ output can run natively?
Even partial ES2015 support (classes, block scope, iterators, Promises, Maps/Sets, Symbols) would greatly improve compatibility with modern TypeScript and many common JS libraries.
Thanks again — goja is an amazing project, and ES2015 support would unlock many more use cases. Happy to help test if needed!