ts版本更新

handbook: https://www.typescriptlang.org/docs/handbook/intro.html


4.3[2021.5.26]

  • Separate Write Types on Properties
  • override and the --noImplicitOverride Flag
  • Template String Type Improvements
  • ECMAScript #private Class Elements
  • ConstructorParameters Works on Abstract Classes
  • Contextual Narrowing for Generics
  • Always-Truthy Promise Checks
  • static Index Signatures
  • .tsbuildinfo Size Improvements
  • Lazier Calculations in --incremental and --watch Compilations
  • Import Statement Completions
  • Editor Support for @link Tags
  • Go-to-Definition on Non-JavaScript File Paths
  • Breaking Changes
  • What’s Next?

4.2[2021.02.23]

  • Smarter Type Alias Preservation
  • Leading/Middle Rest Elements in Tuple Types
  • Stricter Checks For The in Operator
  • --noPropertyAccessFromIndexSignature
  • abstract Construct Signatures
  • The --explainFiles Flag
  • Improved Uncalled Function Checks in Logical Expressions
  • Destructured Variables Can Be Explicitly Marked as Unused
  • Relaxed Rules Between Optional Properties and String Index Signatures
  • Declare Missing Helper Function
  • Breaking Changes

你可能感兴趣的:(ts版本更新)