Click in order · JavaScript and TypeScript course · Module 10: TypeScript in Practice

Ambient modules

Arrange the steps for creating ambient modules.

Items to click

  • Create the .d.ts file
  • Define interfaces and types
  • Export public types
  • Module declaration with declare module

You can check the correct answer by solving this task in the CodeWorlds game.