TypeScript · Senior · Question 71 of 75
What problem can strictNullChecks: false in one package cause in a monorepo?
- ✓Correct answer: Types emitted from that package may omit
null/undefined, giving consumers false guarantees - 2It only affects that package's speed
- 3It makes builds fail everywhere
Explanation
Consistent strictness across packages, via a shared base config, prevents type information from being lost at boundaries.