TypeScript · Middle · Question 66 of 75
What do noImplicitReturns and noFallthroughCasesInSwitch catch?
- ✓Correct answer: Code paths that forget to return a value, and
casebranches that accidentally fall into the next one - 2Unused imports
- 3Missing semicolons
Explanation
They're not part of strict but catch common logic bugs cheaply.