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

ts: Generate all unions inside parentheses #56

Merged
merged 1 commit into from
Jun 1, 2022
Merged

Conversation

sdboyer
Copy link
Contributor

@sdboyer sdboyer commented Jun 1, 2022

Change all unions to be generated inside parentheses. This results in generating parentheses where it's unnecessary in some cases, but as long as the resulting TS is valid and accurately represents the user's intent, it's much simpler to just accept some messiness in the output, at least as a first pass.

Fixes #55

@sdboyer sdboyer added the kind/bug Something isn't working label Jun 1, 2022
@sdboyer sdboyer self-assigned this Jun 1, 2022
@sdboyer sdboyer merged commit 6e43973 into main Jun 1, 2022
@sdboyer sdboyer deleted the disjunct-parens branch June 1, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate disjunctions in parentheses
1 participant