CARVIEW |
- Log in to:
- Community
- DigitalOcean
- Sign up for:
- Community
- DigitalOcean
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
How To Use Basic Types in TypeScript
- March 16, 2021
- 12 min read
How To Create Custom Types in TypeScript?
- March 25, 2021
- 26 min read
How To Use Functions in TypeScript
- April 13, 2021
- 16 min read
How To Use Enums in TypeScript
- June 14, 2021
- 12 min read
How To Use Classes in TypeScript
- July 10, 2021
- 24 min read
How To Use Decorators in TypeScript
- September 17, 2021
- 17 min read
How To Use Interfaces in TypeScript
- October 1, 2021
- 13 min read
How To Use Generics in TypeScript
- November 16, 2021
- 27 min read
How To Use Namespaces in TypeScript
- February 2, 2022
- 11 min read
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.