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

Merging type union requirements #1

Open
1 task
Tlacenka opened this issue Feb 15, 2024 · 0 comments
Open
1 task

Merging type union requirements #1

Tlacenka opened this issue Feb 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Tlacenka
Copy link

As a user, I would like to improve the formatting of type unions requirements. Currently, the requirements are separated into multiple parentheses which can reduce the type readability.

Acceptance criteria

  • All requirements for a given type within a union are merged under one set of parentheses.

Example

string (url) (optional) or ''string (url, optional) or ''

@matejchalk matejchalk added the enhancement New feature or request label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants