TypeScript roadmap: Microsoft’s plans for 2019

Posted on 11-01-2019 , by: admin , in , 0 Comments

Microsoft’s priorities for TypeScript for the first six months of 2019 are to enhance the core type system, boost productivity, and improve linting.

Microsoft’s TypeScript roadmap is not a commitment to feature delivery, the company noted.

Core type system

For TypeScript and the core system, the goal is to statically model patterns in JavaScript in a reasonable way while enforcing correctness and snagging bugs. The features being added to the ECMAScript specification underlying JavaScript mean TypeScript has to evolve with it. Priorities for TypeScript and the core system include:

  • Enablement of popular JavaScript patterns in a type-safe manner.
  • Increased expressivity.
  • Proving of relationships between types.
  • Implementation of ECMAScript features.
  • Stricter settings.

TypeScript beyond TypeScript

With the user base now including the JavaScript ecosystem as a whole, TypeScript is no longer just for TypeScript. With this in mind, Microsoft’s priorities include:

  • A smoother transition to TypeScript.
  • Understanding more dynamic patterns.
  • Improving JavaScript editing.
  • Automation for adding JSDoc types.

Productivity tools integration

For productivity space, goals include:

  • “Proactive” quick fixes.
  • Declaration file fixes and refactorings.
  • Easing migration to TypeScript and typed JavaScript.
  • “Bread and butter” fixes and refactorings, referring to a class of code modifications and fixes applicable to most developers.

ESLint versus TSLint

Also under consideration are enhancements for linting, with plans calling for using the ESLint pluggable JavaScript linting utility over the TSLint static analysis tool for TypeScript code. Microsoft plans to contribute to ESLint’s TypeScript support to bring it to parity with TSLint. TypeScript’s repository will switch to ESLint.