-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
The section
IE11 ECMAScript Extensions
(https://github.com/Microsoft/TypeScript/blob/master/bin/lib.dom.d.ts#L636)
contains eg.
declare var Map: {
new <K, V>(): Map<K, V>;
prototype: Map<any, any>;
}
But the spec says that Map should have a copy constructor:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
This causes compile errors for projects which use that constructor. (eg. Angular)
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue