Skip to content

No documentation on the RegExpMatchArray type #49473

@mjbvz

Description

@mjbvz

lib Update Request

Configuration Check

My compilation target is ES2020 and my lib is the default.

Missing / Incorrect Definition

RegExpMatchArray

Sample Code

The RegExpMatchArray type is missing documentation for the type itself and for any properties that are unique to it (vs inserted from array)

const match = ''.match(/x/)
match.index // no docs here

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match

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