Closed
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.87.0
- OS Version: Ubuntu 22.04
Steps to Reproduce:
- Clone the project
git clone https://github.com/DScheglov/res-test.git
- Open the VS Code:
code res-test
- Install dependencies (in terminal):
npm i
- Open file
./src/index.ts
The following errors are shown:
These errors are false positive:
- project is configured to use the same typescript compiler as a project. See
.vscode/settings.json
- project is compiled successfully via terminal:
npx tsc
(no errors) - errors are gone after TS Language Server is restared (
Ctrl + Shift + P
, TypeScript: Restart TS Server) - errors go back after any touch of the file (just add a space).
There is not such problem in WebStorm
(Sorry, I have to check)
Errors are not displayed in the TS Playground as well:
Playground