Skip to content

Provide lib/target suggestions for findLast/findLastIndex #52220

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

Once #49636 goes in, we should ensure that a user gets suggestions for using findLast/findLastIndex when their output target or lib is too low.

function findLastZeroIndex(arr: number[]) {
  return arr.findLastIndex(0);
}

We already do this for other missing methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingFix AvailableA PR has been opened for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions