Commit 353940f
committed
fix(tsconfig): ignoreDeprecations 5.0 silences IDE warning kept reporting node10 even with NodeNext
User's Cursor TS Language Service kept showing 'moduleResolution=node10 is
deprecated' error regardless of what value we set ('Node', 'node10',
'Node16', 'NodeNext' — all flagged). tsc CLI compiles cleanly at every
step, so the on-disk values are fine; the IDE service was caching old
state and/or applying TS 7-track strictness to TS 5.9 internals.
Fix per the TS team's official escape hatch: 'ignoreDeprecations': '5.0'
(matches the current TS 5.x line). The IDE hint suggested '6.0' but TS
5.9 rejects that value as invalid — '5.0' is the right one until we
upgrade to TS 6+. Suppresses the deprecation warning in the IDE without
changing actual compile behavior.1 parent 862a6f5 commit 353940f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments