Phase 7 · TypeScript

Topics

Modules

Part of the Frontend Developer Roadmap.

Summary

How TypeScript organizes and type-checks code split across multiple files, extending JavaScript's `import`/`export` with type-only imports and declaration files.

How to Learn This

  • 1Practice `import type` for importing only type information.
  • 2Learn what a `.d.ts` declaration file is and when you'd write one.
  • 3Explore how `tsconfig.json`'s `module` setting affects compiled output.
InsideEdge

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — free on the InsideEdge app.

Download
InsideEdge