Issue Type: Bug
- Create file
a.js:
// @ts-check
/** @type {number} */
var a = "";
- Create file
tsconfig.json
{
"compilerOptions": {
"allowJs": true,
"pretty": false,
"noEmit": true
}
}
- Open code
- Run build command
Observe error list is updated with errors:

- Double click on the error message,
a.js is now open
Observe error list now has duplicate errors:

Note: this does not seem to happen for a .ts file
VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112) |
| Memory (System) |
15.93GB (6.67GB free) |
| Process Argv |
C:\Program Files\Microsoft VS Code\Code.exe stc |
| Screen Reader |
no |
| VM |
0% |
Extensions (1)
| Extension |
Author (truncated) |
Version |
| xml |
Dot |
1.9.2 |
Issue Type: Bug
a.js:tsconfig.jsonObserve error list is updated with errors:
a.jsis now openObserve error list now has duplicate errors:
VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299
System Info
Extensions (1)