-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
TypeScript 4.3 Syntax Support #3272
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
Comments
Trying to add |
I mean... When you installed the new TS version you would have gotten a warning from your package manager that it wasn't supported. And then when you ran the linter you would have gotten a message saying that it wasn't supported, unless you disabled the messages. |
The linter gave no such message, it just crashed with no output:
I don't know what I've done wrong to not get the behavior you've described 🤷♂️ |
The first thing our parser does before it even invokes TS is warn about the TS version - unless you've disabled this message in your config. For example - this is the output of a fresh install with no parser options configured:
Regardless though - you're saying you installed a beta version (not even RC) of typescript and assumed it'd just be supported by all tools, and are annoyed that the project didn't loudly enough warn you that you might be doing something unsupported? It's not like we hide our supported ranges: |
will require AST changes? It introduces the syntax like below: interface Thing {
get size(): number
set size(value: number | string | boolean);
} |
Ahh I missed the bit about the interface signatures. Yes that will require AST changes |
https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-rc/
This issue is just to track all of the new features and their implementation state in this project.
As with all releases, we will not necessarily to support all features until closer to the full release when everything the features are stabilised.
Please be patient.
Separate Write Types on Properties (Supported: #3427)
This will require AST changes.
override
and the--noImplicitOverride
Flag (Supported: #3429)This will require AST changes.
ECMAScript
#private
Class Elements (NOT YET Supported: #3430)Private names are still waiting to be fully implemented (See #1436).
This will require AST changes.
static
Index SignaturesThis is already supported!!
Other changes with no AST impact to us
no-misused-promises
!@link
TagsThe text was updated successfully, but these errors were encountered: