Your First Types
Let's learn about the basic types in TypeScript.
String Type
Number Type
Boolean Type
Type Errors
TypeScript catches type errors at compile time:
Multiple Variables
Exercise: Fix the Types
The code has type errors. Fix them:
Up next · Lesson 3 of 34
Type Inference
1 min read
2 of 34 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

