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
medium
TypeScript
Why should moduleResolution be matched to the actual build target (bundler-based tooling vs. Node's own resolution)?
A
It doesn't matter which is chosen
B
Each mode's resolution rules should match how modules will ACTUALLY be resolved at runtime/build time — a mismatch can cause TypeScript to accept code that the real bundler/runtime would reject, or vice versa
C
bundler mode is always faster to compile
D
nodenext mode disables type-checking
Check Answer