Skip to content

configFileDiag not returning errors for missing project reference path #25741

Closed
@mjbvz

Description

@mjbvz

TypeScript Version: 3.0.1-insider.20180713

Search Terms:

  • tsconfig
  • configFileDiag
  • tsserver

Code
Create a simple tsconfig that references a non-existant project path:

{
    "references": [
        {
            "path": "./no-such-tsconfig.json"
        }
    ]
}

Save the file and see a configFileDiag response from tsserver

Expected behavior:
configFileDiag returns a diagnostic for the invalid path

Actual behavior:
No diagnostics are returned

Let me know if there is another way we are supposed to be getting diagnostics for config file issues.

Related Issues:

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions