TypeScript · Middle · Question 58 of 75
What does type-aware linting with typescript-eslint add on top of tsc?
- ✓Correct answer: Rules that use type information, e.g. detecting unhandled (floating) promises or unsafe
anyusage - 2Faster compilation
- 3Automatic type generation
Explanation
tsc checks type correctness; lint rules like no-floating-promises catch bugs that are type-correct but likely wrong.