Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumTypeScriptmodule augmentationSingle-choice MCQ

Within a module-augmentation block, you try to add a NEW top-level export to an existing module. What does TypeScript do?

// in some-lib.d.ts augmentation declare module "some-lib" { export function brandNewFn(): void; }