-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Roadmap
Daniel Rosenwasser edited this page Feb 28, 2023
·
546 revisions
This page outlines specific features and fixes that are scheduled or planned for given releases. The 6-month roadmaps that outlines focus areas of work can be viewed for
- Feature already available in
typescript@next
- Investigate nominal typing support
- Flattening declarations
- Implement ES Decorator proposal
- Investigate Ambient, Deprecated, and Conditional decorators
- Investigate partial type argument inference
- Quick fix to Scaffold local
@typespackages - Investigate error messages in haiku or iambic pentameter
- Decorators for function expressions/arrow functions
See the 5.0 Iteration Plan for more details.
- Standard ECMAScript Decorators
-
constType Parameters -
--moduleResolution bundler -
extendsSupport for Multipletsconfig.jsonFiles - Declaration Files for non-JavaScript Files with
--allowArbitraryExtensions -
export type * -
--verbatimModuleSyntax -
@satisfiesJSDoc Tag in JavaScript -
@overloadJSDoc Tag in JavaScript - Unification Between Numeric and Literal
enums - Toggling Certain Compiler-Specific Flags Under
--build - Flag Deprecations
- Improved
inChecks Under--noUncheckedIndexedAccess - Editor Support for Case-Sensitive Import Sorting
- Editor Support for Exhaustive
switch/caseSnippet Completions - Virtual File System Support for TSServer
- Optimizations
See the 4.9 Iteration Plan for more details.
- Narrowing Checks for Unknown Properties with the
inOperator -
satisfiesoperator - Auto-accessors in classes
- Forbidden Equality Checks Against
NaN - File Watching Defaults Using to File-System Events
- "Remove Imports" Command for Editors
- Go-to-Definition on
returnKeywords - Optimizations
See the 4.8 Iteration Plan for more details.
- Improved Narrowing on Generics and Intersection Reduction
- Improved Inference for
inferTypes in Template String Types -
--build,--watch, and--incrementalPerformance Improvements - Errors When Comparing Object and Array Literals
- Improved Inference from Binding Patterns
- Resilient File-Watching During Large File Changes
- Find-All-References Performance Improvements
See the 4.7 Iteration Plan for more details.
-
--moduleand--moduleResolutionoptionsnode16andnodenext - Control Flow and Class Initialization Checks for Computed Properties
- Instantiation Expressions
- Improved Inference Between Function-Initialized Properties and Methods
-
extendsConstraints oninferType Variables - Optional Variance Annotations
-
moduleSuffixesOption For Resolution -
resolution-modefor/// <reference types="..." />Directives -
resolution-modeforimport type - Allow
typeofon#privateFields - Object Method Snippet Completions
- Grouping-Aware Organize Imports
- Go to Source Definition/JavaScript Implementation
See the 4.6 Iteration Plan for more details.
- Narrowing for Variables Destructured from Discriminated Unions
- Relaxed Checks on Code Before
super() - Improved Recursion Depth Checks
- Indexed Access Inference Improvements
-
--target es2022 - Syntax and Binding Errors in JavaScript Files
- Release of
@typescript/analyze-trace
See the 4.5 Iteration Plan for more details.
-
libOverrides fromnode_modules -
AwaitedandPromiseFunction Improvements - Tail Recursive Evaluation of Conditional Types
- Template String Discriminants
-
--module es2022 - Controls for Import Elision via
--preserveValueImports -
typeModifiers on Import Names -
inChecks on#privateFields - Import Assertions
- Speed Improvements on Windows/Mac via
realpathSync.native - Snippet Completions for Subclass Methods
- Snippet Completions for JSX Attributes
- Better Editor Support for Unresolved Types