The Startup
Published in

The Startup

Migrating to TypeScript

In this article, we’ll discuss TypeScript, its benefits, and how to introduce it to a legacy piece of JavaScript code.

By the end this article you’ll learn:

  • What TypeScript is and what its benefits and tradeoffs are
  • How to get started with TypeScript with a legacy JavaScript codebase
  • How to use type annotations in TypeScript
  • How to use nullability checks in TypeScript
  • Next steps for further improving TypeScript code

What is TypeScript?

--

--

--

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Login Screen — Tips and Ideas for Testing

How do I implement getDerivedStateFromProps?

Material-UI v4 is out 🎉

Bug hunt: Ext JS Simlets and omitting the status code

Client Side VS Server Side Rendering

Lazy Loading in Angular 9

JWT authentication in Spring Security and Spring Boot

Using NextJS In A Monorepo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matt Eland

Matt Eland

I help people love writing code through writing, speaking, and teaching on Software Engineering & Data Science

More from Medium

Advanced TypeScript: Type-Level Nested Object Paths

Example of nested object paths in typescript

Typescript Generics Explained Easily

TypeScript encapsulation demystified

Component-First State Management for Angular Standalone Components