Skip to content

Foldable findLast does not work seamlessly #5

@limemloh

Description

@limemloh

The following code

findLast(a => a < 3, [1,2,3,4]);

makes typescript throw this error:
Property 'foldr' is missing in type 'number[]'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions