Skip to content

feature request: union types #36

@sebilasse

Description

@sebilasse

When I have e.g.

export type Response = Info|Success|Failure;

in an interface file :

error TS1008: Unexpected token; 'module, class, interface, enum, import or statement' 

But this could become a anyOf

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