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

Add support for typescript uniont types #25

Open
KJSanchez opened this issue Nov 6, 2022 · 1 comment
Open

Add support for typescript uniont types #25

KJSanchez opened this issue Nov 6, 2022 · 1 comment

Comments

@KJSanchez
Copy link

I'd like to be able to compile typescript union types. Something like what's below.

interface Bird {
  fly(): void;
  layEggs(): void;
}
 
interface Fish {
  swim(): void;
  layEggs(): void;
}

type Animal = Bird | Fish;
@adenh93
Copy link
Owner

adenh93 commented Dec 8, 2022

Hey @KJSanchez,

Great feature request! I'll try to slot this in when I have a moment.

Currently raising a newborn while working full time, so can't be as active on this project as I'd like 😅

Thanks!

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