-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor: switch acceptance members to type aliases #17653
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
refactor: switch acceptance members to type aliases #17653
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
3f4efd8
to
f1e70d5
Compare
I need to rebase this PR, but will do after we released v9. I think at that point it will be easier to merge this PR. |
Instead of manually typing the union types for boolean and number inputs, we should use a type alias. This allows us to make changes easier in the future, and it avoids a lot of repetition.
f1e70d5
to
1e395ed
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Follow-up PR to #17640. It has been told to me that #17640 already has a presubmit, so I submitted the type alias change as a separate PR. Happy to merge that into a single PR if we can easily get the new PR merged too.