Skip to content

DataTransfer.types type incorrect (or maybe just incomplete). #10979

Closed
microsoft/TypeScript-DOM-lib-generator
#148

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.

Activity

  1. added
    Bug
    Domain: lib.d.ts
    on Sep 19, 2016
  2. mhegazy commented on Sep 21, 2016

    @mhegazy
    Contributor
  3. modified the milestone: on Sep 21, 2016
  4. modified the milestones: TypeScript 2.1, on Sep 29, 2016
  5. added
    Fixed in TSJS repo
    and removed on Oct 21, 2016
  6. modified the milestones: TypeScript 2.1, on Oct 27, 2016
  7. added
    Fixed
    and removed
    Fixed in TSJS repo
    on Oct 31, 2016
  8. locked and limited conversation to collaborators on Jun 19, 2018
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

    BugDomain: lib.d.tsFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions