Tutorial series

How To Code in TypeScript

How To Code in TypeScript
<- Back to all series

Author(s)

Jonathan Cardoso

By Jonathan Cardoso

Software Engineer - Lindy.ai

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

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

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.