Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: union types #36

Open
sebilasse opened this issue Sep 13, 2015 · 1 comment
Open

feature request: union types #36

sebilasse opened this issue Sep 13, 2015 · 1 comment

Comments

@sebilasse
Copy link

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

@sebilasse sebilasse changed the title feature request: export type feature request: union types Sep 13, 2015
@kanitw
Copy link

kanitw commented Nov 11, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants