Skip to content
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

Closed
elektronik2k5 opened this issue May 21, 2020 · 3 comments
Closed

Supported TypeScript version and changelog? #126

elektronik2k5 opened this issue May 21, 2020 · 3 comments

Comments

@elektronik2k5
Copy link

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, typescript@3.8, 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.

@evanw
Copy link
Owner

evanw commented May 21, 2020

which version of TypeScript is currently supported?

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 didn't find a changelog or release notes. Without those it is very difficult to consider esbuild for non toy projects.

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.

@evanw
Copy link
Owner

evanw commented May 22, 2020

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.

@evanw evanw closed this as completed May 22, 2020
@elektronik2k5
Copy link
Author

Thank you for the detailed additions, they are clear and helpful. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants