Skip to content

Error for compilataions with no source files #11650

Closed

Description

Running tsc on an empty input set should result into an error. Most of the time this is an error in the configurations that the user did not intend.

For instance, see #11621.

  {
      "compilerOptions": {
          "outDir": "src"
      },
      "include":[
          "src/**/*"
      ]
  }

This config file results in no input files, yet calling tsc on it produces no errors.

Activity

  1. added 2 commits that reference this issue on Oct 20, 2016
    8f0c43e
    3adee08
  2. added a commit that references this issue on Oct 24, 2016
    4dc6028
  3. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions