Skip to content

lib es6 loses window and other dom stuff聽#9500

Description

ts:

console.log(window);

tsconfig.json:

{
  "compilerOptions": {
    "lib": [
      "es6"
    ]
  }
}

compile:

tsc -p .

Expected behavior:
Works!

Actual behavior:
Error cannot find name window.

refs #6974 馃尮

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

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions