Skip to content

Incorrect return types for parseChunk and flush. #29

@muzam1l

Description

@muzam1l

The return types of functions parseChunk and flush are incorrectly typed as Iterator<T> in Typescript declarations while it is supposed to be Iterable<T>!

This makes Typescript error out for spread operator ... as well as for loops.

I can make the change if PR's are welcomed.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions