-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supported TypeScript version and changelog? #126
Comments
That's a good question. I should add a compatibility table for TypeScript in addition to JavaScript. Just like esbuild doesn't support a single version of JavaScript, esbuild also doesn't support a single version of TypeScript. It supports some features from later versions without supporting some features from earlier versions. For example, it supports the new type-only import/export syntax you linked to but it doesn't yet support private fields or experimental decorators. I want to do a push to implement those at some point but right now I'm focusing on a rewrite of the core bundler to support tree shaking and code splitting.
I should get a changelog together. That said, keep in mind that I'm not aware of anyone using this in production yet, so it may still be difficult to consider esbuild for non-toy projects even with a changelog. |
I just got both of those started, and they can be improved over time. So I consider this issue fixed. FWIW the only TypeScript-specific feature that I'm aware of that I don't support is experimental decorators. Most of the work to improve compatibility with TypeScript is just filling out support for newer JavaScript features. |
Thank you for the detailed additions, they are clear and helpful. 😃 |
Hello and thanks for creating this awesome project! 😃
I searched the docs and issues but found no relevant information for a simple question: which version of TypeScript is currently supported? The readme has an overview of JS features, but unlike JS (referring to TC39 stages 3-4), TS evolves faster with several releases a year. A good example is TypeScript's previous release,
[email protected]
, which introduced new syntax.Related: I didn't find a changelog or release notes. Without those it is very difficult to consider
esbuild
for non toy projects.Specifically, esbuild was suggested for use in deno, but I can't evaluate the feasibility of using
esbuild
without knowing what's currently supported (specifically in TS) and what's the project roadmap.The text was updated successfully, but these errors were encountered: