Skip to content

Different tsconfig lookup behaviour between tsc and tsserver #5828

Description

From Tanguy Krotoff (@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: APIRelates to the public API for 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