TypeScript 4.4 Syntax Support #3606
Labels
AST
PRs and Issues about the AST structure
New TypeScript Version
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
Milestone
https://devblogs.microsoft.com/typescript/announcing-typescript-4-4-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.
Control Flow Analysis of Aliased Conditions
This requires no AST changes, and should just improve all of our rules.
Symbol Pattern and Template String Pattern Index Signatures
This requires no AST changes, as we already support this via
TSIndexSignature > Identifier.parameters > TSTypeAnnotation.typeAnnotation
. Once TS supports the syntax, we will too.Defaulting to the
unknown
Type in Catch Variables (--useUnknownInCatchVariables)
This requires no AST changes, and in fact makes the
no-implicit-any-catch
obsolete!Breaking Changes -> Abstract Properties Do Not Allow Initializers (support #3765)
We can update our AST to remove the
value
property fromTSAbstractClassProperty
.Given that this node shares the AST structure of normal class properties - it's probably not worth updating the AST spec though.
Class Static Blocks (support #3730)
This will require AST changes.
Other changes with no AST impact to us
--exactOptionalPropertyTypes
)tsc --help
Updates and Improvements--strict
--force
Buildslib.d.ts
Changes for TypeScript 4.4unknown
in Catch VariablesThe text was updated successfully, but these errors were encountered: