Concept: Migration from JS
Question
What is the recommended first step when migrating a JavaScript project to TypeScript?
Hint
Migration should be gradual — TypeScript supports mixed JS/TS projects.
Explanation
The recommended approach is incremental: enable allowJs in tsconfig, rename .js files to .ts one at a time, and fix errors as they appear. Start with strict: false and gradually enable stricter checks. TypeScript is designed to be a superset of JavaScript, so valid JS is valid TS (with relaxed settings).
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.