TypeScript tutorialLesson 2Free preview
TS Introduction
This lesson is part of TypeScript · All levels
Summary
TypeScript is a JavaScript superset that adds optional static type and development aids. TypeScript code is compiled into JavaScript so that it remains running in the same environment as JavaScript. This approach makes teams more confident when changing code because many type errors are caught early.
Key points
- JavaScript superset: all JS code is valid in TypeScript
- Type is optional but checked by the compiler
- Compilation produces JavaScript that is ready to execute
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.