Carl Rippon

Building SPAs

Carl Rippon
BlogBooks / CoursesAbout
This site uses cookies. Click here to find out more

2019 was a great year for TypeScript

January 14, 2020
typescript

2019 TypeScript

I was watching Anders Hejlsberg’s TSConf 2019 keynote the other day and was reminded of what a great year its been for TypeScript. In my last post, I highlighted some great new features added to TypeScript during the previous 18 months. This post highlights some of the other significant things that have happened in the last year.

Growth

npm TypeScript downloads

TypeScript has grown from 18.7 million npm downloads per month to 32.7 million. That’s a whopping 75% increase!

Surveys

State of JavaSript survey results

66% of the State of JavaScript respondents use TypeScript - an increase of 26% from 2018. Not bad for a JavaScript survey! It seems that once developers use TypeScript, they love it! - 89% of the respondents using TypeScript would continue to use it.

There were 22% who want to use TypeScript who haven’t used it yet. So, plenty of more room for more growth in 2020.

Babel TypeScript support

Babel supporting TypeScript simplifies the build pipeline in many TypeScript projects because we can use one transpiler rather than trying to get 2 transpilers working together. This leaves TypeScript to do what it does best in our projects - type checking and enabling editor features.

ESLint support

ESLint supporting TypeScript means that we can use a more feature-rich and faster linter for checking our code. TSLint is now deprecated.

VueJS 3

VueJS 3.0 is being written in TypeScript! So, along with Angular, this is another major framework leveraging TypeScript.

Create React App

Create React App is a popular tool for creating React apps with lots of valuable configuration automatically done. This tool now includes TypeScript! So, React projects with TypeScript pre-configured can now be created with one simple command.

New TypeScript playground

The TypeScript playground has been updated. One of the handy things we can do with this new version is picking the version of TypeScript to execute the code with. We can even use the nightly version to play with features not even released yet!

Wrap up

These are just some of the 2019 highlights for TypeScript. These, along with cracking features like const assertions and readonly arrays, have made it a fascinating in TypeScript land.

The excitement is set to continue in 2020 with TypeScript 3.8 close to release which includes private fields and top-level await.

Did you find this post useful?

Let me know by sharing it on Twitter.
Click here to share this post on Twitter

If you to learn more about TypeScript, you may find my free TypeScript course useful:

Learn TypeScript

Learn TypeScript
Take a look

Want more content like this?

Subscribe to receive notifications on new blog posts and courses

Required
© Carl Rippon
Privacy Policy