Skip to content

Create Unions.Add function #119

Open
@ThomasAribart

Description

@ThomasAribart

Hello and thanks for this awesome lib 🙌

Similar to Tuples.Append, it'd be nice to have a Unions.Add function to include new elements to a union:

type Test = Pipe<1, [Unions.Add<2>]>
// => 1 | 2

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