Open me4502 opened 7 months ago
Hi there, I wasn't able to reproduce this in my test project. I updated that project to TS 5.3.3, and then restarted VS Code, and everything was still working as expected.
Are you able to provide a very small reproduction for this?
Describe the bug Upon updating to TS 5.3.2 or 5.3.3, this plugin causes the project service within IDE (VSCode) to error, and also causes TypeScript-ESLint with the
EXPERIMENTAL_useProjectService
option to also fail due to the project service erroring on creation.Within IDE this is demonstrated by no type errors being reported, however the first line is underlined with
Parsing error: Debug Failure. Expected undefined === 0.
as the error.The same error is printed out for every file when ESLint is run with the project service enabled.
Here's a stacktrace of the issue, using TypeScript 5.3.3,
To Reproduce Steps to reproduce the behavior:
Alternatively,
EXPERIMENTAL_useProjectService
in the parserOptionsDEBUG='*'
env var allows seeing more in-depth stacktraces when it fails to parse the filesExpected behavior The plugin should not be causing the project service within TypeScript to fail.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.