-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
microsoft/TypeScript-DOM-lib-generator
#148Labels
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 issueHelp WantedYou can do thisYou can do this
Milestone
Description
TypeScript Version: Latest master rev (b7d1d11)
The type of the DataTransfer.types field does not match the spec, which seems to indicate that it should be of type DOMString[] not DOMStringList as it is today.
https://github.com/Microsoft/TypeScript/blob/b7d1d11ba32fe0aa01d7c06ad43c2c7f7d9ffb7f/lib/lib.dom.d.ts#L2191
https://html.spec.whatwg.org/multipage/interaction.html#the-datatransfer-interface
This appears to match the behavior of Chrome 53.0.2785.116; however, Firefox 48.0 shows the field being of type DOMStringList.
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 issueHelp WantedYou can do thisYou can do this