Web format

.ts

TypeScript — JavaScript with static types.

Category
Web
Best for
Type-safe web apps
Extension
.ts

When to use it

Use TS when type-safe web apps. It is the right pick whenever those constraints apply.

When to avoid it

Reach for an alternative format in the web category when your workflow has different priorities — see related formats below.

Related web formats