Skip to content

Different tsconfig lookup behaviour between tsc and tsserver #5828

@dbaeumer

Description

@dbaeumer

From @tkrotoff on November 26, 2015 18:37

Context: you can add all your .d.ts files inside tsconfig.json instead of writing /// <reference path="my.d.ts" /> in each .ts file (way better).
It works fine with tsc.

Unfortunately it does not always work with vscode.

Example: https://github.com/tkrotoff/vscode-tsconfig.conf-issue
test/tsconfig.json references files outside its directory and vscode fails while tsc is fine with it.

screen shot 2015-11-26 at 19 16 56

Copied from original issue: microsoft/vscode#716

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptBugA bug in TypeScriptRevisitAn issue worth coming back to

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions