Skip to content

RTCStatsType in dom.generated.d.ts is incorrect. #36650

Closed
@doutori

Description

@doutori

TypeScript Version: 3.7.5

Search Terms:

  • RTCStatsType

Code

Expected behavior:

Actual behavior:

RTCStatsType is defined as

https://github.com/microsoft/TypeScript/blob/master/src/lib/dom.generated.d.ts#L20177

Actually returns a hyphenated value.

  • candidate-pair
  • data-channel
  • inbound-rtp
  • local-candidate
  • outbound-rtp
  • remote-candidate

MDN Web Docs -> https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsType

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions