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

Ternary conditionals not supported in typescript 2.8 #831

Closed
justinkchen opened this issue Aug 11, 2018 · 2 comments
Closed

Ternary conditionals not supported in typescript 2.8 #831

justinkchen opened this issue Aug 11, 2018 · 2 comments
Milestone

Comments

@justinkchen
Copy link

Can we upgrade the typescript version so that there arent any errors during compilation for newer types?

@aciccarello
Copy link
Collaborator

I'm working on updating typescript now so that will be resolved separately. I'm not sure if ternary conditionals will work by default though.

PRs to add a ternary conditional test case would be helpful

NaridaL added a commit to NaridaL/typedoc that referenced this issue Oct 5, 2018
Currently results in { "type": "unknown", "name": "X extends A ? B : C" }

See TypeStrong#831
@Gerrit0 Gerrit0 changed the title Ternary conditionals not supported in typescript 2.7 Ternary conditionals not supported in typescript 2.8 Dec 24, 2019
@Gerrit0 Gerrit0 added this to the 0.16.0 milestone Dec 24, 2019
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Dec 26, 2019

Released in v0.15.6

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 a pull request may close this issue.

3 participants