Hasty Briefsbeta

Bilingual

TypeScript 7.0 Beta

3 hours ago
  • #Compiler
  • #Performance
  • #TypeScript
  • TypeScript 7.0 Beta is released, built on a new Go codebase for significant performance improvements.
  • Performance: Often about 10 times faster than TypeScript 6.0 due to native code speed and shared memory parallelism.
  • Compatibility: Maintains architectural parity with TypeScript 6.0, ensuring identical type-checking semantics.
  • Installation: Install via npm using '@typescript/native-preview@beta' and use 'tsgo' executable.
  • Editor Support: VS Code extension 'TypeScript Native Preview' offers enhanced editing experience.
  • Parallelization: Introduces '--checkers' and '--builders' flags for parallel processing, with '--singleThreaded' mode available.
  • Configuration Changes: Adopts TypeScript 6.0 defaults, with notable changes to 'rootDir', 'types', and deprecated flags.
  • JavaScript Support: Reworked to be more consistent with TypeScript analysis, eliminating some legacy patterns.
  • Upcoming Work: Plans for stable programmatic API in TypeScript 7.1, improved '--watch', and editor feature enhancements.
  • Feedback: Encourages testing on real projects and sharing experiences via social media or issue tracker.