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

Added support for conditional types. i.e. X extends A ? B : C #873

Closed
wants to merge 2 commits into from

Conversation

NaridaL
Copy link
Contributor

@NaridaL NaridaL commented Oct 5, 2018

Currently results in { "type": "unknown", "name": "X extends A ? B : C" }

See #831

Now fixes #831

Currently results in { "type": "unknown", "name": "X extends A ? B : C" }

See TypeStrong#831
@NaridaL NaridaL changed the title Added test for conditional types. i.e. X extends A ? B : C Added support for conditional types. i.e. X extends A ? B : C Oct 5, 2018
@NaridaL NaridaL force-pushed the conditional-types-test branch from cdec51f to 52a893b Compare October 5, 2018 15:37
@Gerrit0 Gerrit0 added this to the 0.16.0 milestone Nov 13, 2019
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Dec 26, 2019

Thanks for this! I've merged it in with #1153.

@Gerrit0 Gerrit0 closed this Dec 26, 2019
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

Successfully merging this pull request may close these issues.

Ternary conditionals not supported in typescript 2.8
2 participants