Tutorial series

How To Code in TypeScript

How To Code in TypeScript

Introduction

TypeScript is an extension of the JavaScript language that uses JavaScript’s runtime with a compile-time type checker. This combination allows developers to use the full JavaScript ecosystem and language features, while also adding optional static type-checking, enum data types, classes, and interfaces.

This series will show you the syntax you need to get started with TypeScript, allowing you to leverage its typing system to make scalable, enterprise-grade code.

Tutorials in series

Tutorial

How To Use Basic Types in TypeScript

Tutorial

How To Create Custom Types in TypeScript

Tutorial

How To Use Functions in TypeScript

Tutorial

How To Use Enums in TypeScript

Tutorial

How To Use Classes in TypeScript

Tutorial

How To Use Decorators in TypeScript

Tutorial

How To Use Interfaces in TypeScript

Tutorial

How To Use Generics in TypeScript

Tutorial

How To Use Namespaces in TypeScript

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.