World Congress 2023 • Aug 11, 2023

4 Steps from JavaScript to TypeScript

Phil Nash

Transition your legacy JavaScript to TypeScript without breaking the build. Learn a proven four-step strategy to incrementally unlock type safety and immediate developer productivity.

Pause
Mute Enter Fullscreen
#1 about 8 min

Evaluating benefits and trade-offs of using TypeScript

Type safety and advanced tooling improve code reliability but introduce learning curves and compilation overhead.

#2 about 5 min

Enabling local type checking via editor settings

Activating local type checking in editor settings reveals existing errors before making project-wide changes.

#3 about 6 min

Configuring the TypeScript compiler without type checking

Adjusting compiler options allows existing JavaScript files to pass through the build pipeline without strict failures.

#4 about 4 min

Activating project checks and resolving third-party module types

Enabling global checking rules surfaces missing type definitions that require installing external packages from definitely typed.

#5 about 4 min

Generating types natively in JavaScript using JSDoc

Documenting variables and functions with structured comments provides immediate type inference without requiring file format conversions.

#6 about 5 min

Migrating individual files to native TypeScript syntax

Converting files gradually simplifies managing module updates while slowly enabling strict mode compiler checks globally.

#7 about 4 min

Summary of migration steps and building team consensus

Reviewing the migration framework helps developers outline the process and demonstrate direct architectural value to peers.

Matching moments

2:00 min

The origins and early problems solved by TypeScript

Dani Coll Dani Coll · World Congress 2026 Europe

2:28 min

Exploring the benefits of type safety and TypeScript migration

Chris Heilmann Chris Heilmann +2 · LIVE

9:52 min

Safely migrating legacy JavaScript codebases to strict TypeScript

Chris Heilmann Chris Heilmann +2 · LIVE

6:07 min

Evaluating TypeScript benefits and project drawbacks

Simone Sanfratello · JS Congress

2:51 min

Deciding when to adopt or avoid TypeScript

Rob Richardson · LIVE

2:55 min

Gaining TypeScript benefits using JSDoc alternatives

Simone Sanfratello · JS Congress