Skip to content

[@types/underscore] v1.8.10 throws error on basic pluck usage. #33479

Description

@alignsoft

If you know how to fix the issue, make a pull request instead.

If you do not mention the authors the issue will be ignored.

After updating to the 1.8.10 version of @types/underscore (which didn't indicate any breaking changes), _.pluck(object,'key'); throws an 'Argument of type '"key"' is not assignable to parameter of type 'never'.' error.

The syntax is, as far as I'm aware, correct. Am I missing something, or is this a bug? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions