Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Provide lib/target suggestions for findLast/findLastIndex #52220

Copy link
Copy link
@DanielRosenwasser

Description

@DanielRosenwasser
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingFix AvailableA PR has been opened for this issueA PR has been opened for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.