lib.dom.d.ts includes bad IE11 defn's #2636
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
The section
IE11 ECMAScript Extensions
(https://github.com/Microsoft/TypeScript/blob/master/bin/lib.dom.d.ts#L636)
contains eg.
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)
The text was updated successfully, but these errors were encountered: