DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
TypeScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
TypeScript
A .d.ts file contains only a `declare module` block augmenting an existing module's types, with no top-level import/export statements of its own. How does TypeScript typically pick this up?
A
It's never picked up automatically under any configuration
B
As a global script, automatically included as long as it's part of the compiled program (e.g. via tsconfig's include), with no explicit import needed
C
It must be manually imported in every single file that uses the augmented type
D
It requires a special file extension other than .d.ts
Check Answer