Skip to content

Unions Types and User Defined Type Guard #46

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

Open
basarat opened this issue Dec 10, 2015 · 2 comments
Open

Unions Types and User Defined Type Guard #46

basarat opened this issue Dec 10, 2015 · 2 comments

Comments

@basarat
Copy link
Owner

basarat commented Dec 10, 2015

microsoft/TypeScript#1007

http://stackoverflow.com/a/34193842/390330

@HerringtonDarkholme
Copy link

Looking forward to TypeScript book updated!

I think this pull-request worth mentioning.
It refines union/intersection type inference. And it enables user-defined nullable types, which is a pain point not resolved in TS's type system but in others(alas, flow-type).

@basarat
Copy link
Owner Author

basarat commented Dec 11, 2015

@HerringtonDarkholme Noted for inclusion 🌹

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