Skip to content

Flow typedefs have errors #1678

Open
Open
@conartist6

Description

@conartist6

It is:
static intersect(sets: Iterable<Iterable<T>>): Set<T>;
which is incorrect. It should be:
static intersect(...sets: Array<Iterable<T>>): Set<T>;

This matches the typescript type and the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions