A developer writes an async function that can throw, but callers never await it. Which TypeScript configuration helps surface this risk?
-
A
Enabling the ESLint @typescript-eslint/no-floating-promises rule alongside strict mode
-
B
Setting target to ES2017
-
C
Enabling declaration maps
-
D
Using module: commonjs