Skip to content

TSServer: config file diagnostics are missing start / end property #10384

Closed
@dbaeumer

Description

@dbaeumer

TypeScript Version: 2.0
Code
tsconfig.json

{
    "compilerOptions": {
        "module": "commonjs",
        "abdb": 10
    }
}
  • open a file that triggers validating the tsconfig.json file
  • the event returned from the tsserver is missing start and end properties on the diagnostic literals. You get:
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 'abdb'."
        }
    ]
}

Metadata

Metadata

Assignees

Labels

FixedA PR has been merged for this issueHelp WantedYou can do thisSuggestionAn idea for TypeScriptVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions