Closed
Description
Someone on Twitter mentioned that updating the jsx
option in their editor was not updating their errors.
https://twitter.com/cromas/status/1636995012482453505
I looked into this and noticed that both --jsx
and --checkJs
are not tracked as affectsSemanticDiagnostics
.
TypeScript/src/compiler/commandLineParser.ts
Lines 651 to 671 in 3fab5ff
In fact, I wonder if checkJs
also needs the same options as allowJs
(i.e. affectsModuleResolution: true
) since one turns the other on implicitly.
TypeScript/src/compiler/commandLineParser.ts
Lines 642 to 650 in 3fab5ff