Updated June 2026 14 hours of live training delivered over 2 days. This course is designed for developers and tech leads responsible for moving existing JavaScript codebases to TypeScript. It suits teams maintaining long-lived applications, platform engineers planning a monorepo-wide migration, and engineering managers who need a realistic strategy with measurable progress - not a rewrite. Participants leave with a concrete, incremental migration plan they can apply immediately. Migrating JavaScript to TypeScript is a strategy-and-execution course for teams that need to adopt TypeScript in an existing codebase without stopping feature work. It opens with the business case and the migration strategies that actually succeed, then moves into incremental adoption mechanics: enabling Comprehensive courseware is distributed online at the start of class. All students receive a downloadable MP4 recording of the training.Migrating JavaScript to TypeScript
Class Duration
Student Prerequisites
Target Audience
Description
allowJs and checkJs, using JSDoc annotations as an on-ramp, and converting files in dependency order. Participants learn the strictness-ratcheting approach (start loose, then enable strict flags one at a time) so the migration delivers value early and never blocks the team. The second day tackles the hard parts: typing legacy patterns such as dynamic objects, monkey patching, and CommonJS interop; managing third-party types with @types packages, declaration merging, and module augmentation; and migrating monorepos with project references. The course gives substantial attention to automation, covering codemods and conversion tooling alongside AI-agent-assisted migration, where coding agents convert and verify modules at scale with the type checker in the loop as the reviewer that keeps generated changes honest (for deeper coverage of agentic workflows, see our AI-Assisted Development with JavaScript and TypeScript course). Throughout, participants learn to measure progress objectively and keep CI green at every step.Learning Outcomes
allowJs and checkJs to type-check JavaScript before converting it, and use JSDoc annotations as a low-friction on-ramp to typed code.@types packages, declaration merging, and module augmentation.Training Materials
Software Requirements
Training Topics
Migration Strategy and Business Case
Incremental Adoption Mechanics
allowJs: mixing .js and .ts filescheckJs: type-checking JavaScript in place@param, @returns, @type, @typedefStrictness Ratcheting
noImplicitAny, strictNullChecks, and beyond@ts-expect-error over @ts-ignoreTyping Legacy Patterns
Record, and discriminated alternativesesModuleInterop and default import pitfallsany quarantine: containing the untypeableThird-Party Types
@types packagesMonorepo Migration with Project References
Codemods and Automated Tooling
AI-Agent-Assisted Migration
Measuring Progress and Keeping CI Green
any count, strict-flag coverage