Skip to content

Unable to work --lib flag with dom #8557

Description

@falsandtru

Note: v1.9.0-dev.20160407 works fine, but v1.9.0-dev.20160408 is broken.

TypeScript Version:

master

Code

var a: HTMLAnchorElement;
var b: HTMLPhraseElement;

Expected behavior:

$ node built/local/tsc.js --lib es5,dom index.ts

Actual behavior:

$ node built/local/tsc.js --lib es5,dom index.ts
index.ts(2,8): error TS2304: Cannot find name 'HTMLPhraseElement'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking ChangeWould introduce errors in existing code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions