Skip to content

Array.prototype.find should consider type guards #18112

@roddolf

Description

@roddolf

It would perfect to pass a type guard to Array.prototype.find to find and cast an object
like Array.prototype.filter does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions