Skip to content

mergeStatic() does not work with arbitrary amount of parameters #246

Open
@felixfbecker

Description

@felixfbecker

IxJS version:

Code to reproduce:

let arr: AsyncIterable<any>[]
mergeStatic(...arr)

Expected behavior:
Should compile

Actual behavior:
Fails with

[ts] Expected 1-6 arguments, but got 0 or more. [2556]
merge.ts(86, 32): An argument for 'v1' was not provided.

Additional information:
Workaround: use new MergeAsyncIterable(arr)

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