Closed
Description
TypeScript Version: 2.0.0
Code
tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"aaa": 10
}
}
The server sends and event
Event received: configFileDiag (0).
Data: {
"triggerFile": "p:/mseng/VSCode/Playgrounds/ts-2.0/test.ts",
"configFile": "p:/mseng/VSCode/Playgrounds/ts-2.0/tsconfig.json",
"diagnostics": [
{
"text": "Unknown compiler option 'aaa'."
}
]
}
which is correct. Fix the error in the tsconfig.json and save.
Observe: no configFileDiag update is sent. We either need an event to reqeuest configFileDiag or it should automatically happen when the tsconfig.json file is saved and recognized by the server.