TypeScript Tutorial

TypeScript Introduction

What is TypeScript?

TypeScript adds static types to JavaScript for safer large-scale applications.

Why Learn TypeScript?

TypeScript is widely used in industry and education. This tutorial follows a practical, example-driven approach so you can read a concept and try it immediately.

Learning by Examples

Our examples are concise and focused. Edit them in the Try it Yourself editor and observe the result.

Example
const greeting: string = "Hello from Sturdee";
console.log(greeting);
Try it Yourself