TypeScript Roadmap: Enhanced Type System, More Productivity, and Improved Linting

TypeScript Roadmap: Enhanced Type System, More Productivity, and Improved Linting

Microsoft has detailed the&nbsp;<a href="https://github.com/Microsoft/TypeScript/issues/29288" target="_blank">priorities that will drive TypeScript development during the first six months of 2019</a>. Albeit not yet committed, the current roadmap includes enhanced core type system, maximizing forward compatibility with&nbsp;<a href="https://github.com/tc39" target="_blank">new ECMA features</a>, improving tools, including editor support and linting, and more.

Microsoft has detailed the priorities that will drive TypeScript development during the first six months of 2019. Albeit not yet committed, the current roadmap includes enhanced core type system, maximizing forward compatibility with new ECMA features, improving tools, including editor support and linting, and more.


On the core type system front, TypeScript keeps its focus on providing a type system that can model JavaScript patterns with the aim to catch bugs and enforce correctness. A new feature of the TypeScript type system will be the ability of “proving relationships between types”, which will allow the compiler to check type correctness when type operators are used.


Special attention will be paid to improving the coexistence of TypeScript and JavaScript. This is mostly due to the growth of the TypeScript user base, with many developers using TypeScript to check or compile their JavaScript code, or transitioning to TypeScript. For example, this will include improvements to the JavaScript editing experience, integration of JSDoc types, making it easier to transition to TypeScript.


Another front where Microsoft will be active is representation within standardization committees, particularly the TC39 committee, which is going to bring the next ECMA standard, and the Node modules group. Highest priority will be influencing the committee's work to ensure better compatibility with proposed features that TypeScript adopted earlier on, such as class fields, decorators, module interoperability, null propagation/coalescing, etc.


Improving tools and developers productivity is also among Microsoft´s goals for the evolution of the TypeScript ecosystem. This includes editor features such as “proactive” quick fixes that will suggest possible changes to improve the code, for example detecting implicit any use even when not using the noImplicitAnycompiler setting and inferring an appropriate type. Improving how developers deal with declaration files is also center stage, with the aim of finding a workflow to help developer handle the case where a type file is not available in DefinitelyTyped or fix erroneous declaration files. Additionally, Microsoft also plans to improve the TypeScript linter (TSLint) performance and the TypeScript server (TSServer) speed, scalability, and stability. Interestingly, to solve TSLint performance issues, Microsoft will leverage ESLint, which they say has the kind of architecture they are striving for, and send contributions to bring its TypeScript support to parity with TSLint.


As a final note, Microsoft is also planning to write a new TypeScript handbook, improve compiler diagnostics, update the TypeScript playground, and extend the DefinitelyTYped infrastructure.

You can get the full details in the official GitHub Roadmap page.

typescript javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

The essential JavaScript concepts that you should understand

The essential JavaScript concepts that you should understand - For successful developing and to pass a work interview

Por qué DEBES aprender TYPESCRIPT (Typescript vs Javascript)

Habéis oido hablar de TypeScript? Porqué se está utilizando y qué aporta que no tenga JavaScript? Se puede utilizar con Angular o con React? En el backend? En éste vídeo os explico porqué utilizo TypeScript y cómo instalarlo!

Builder Pattern in JavaScript/TypeScript

This article is not just about Builder Pattern in JS/TS, I will be explaining my thought process behind it and see if you can relate yourself to this. I believe everybody has a unique way of solving problems, hope you get something to learn from it.

TypeScript for JavaScript Developers

TypeScript is an object-oriented programming language developed and maintained by the Microsoft Corporation. It is a superset of JavaScript and contains all of its elements. TypeScript is a compiled language. You write TypeScript and it compiles to JavaScript. Essentially, you’re writing JavaScript, but with a type system. JavaScript developers should have a seamless transition because the languages are the same

From JavaScript to TypeScript to Elm

I will cover my migration progress between from Javascript to Typescript to Elm and explain why and what brought me to move over. Elm is a language that compiles to Javascript, just like Typescript. TypeScript brings you optional static type-checking along with the latest ECMAScript features.