-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
types(AutocompleteOption): fix and improve types #8069
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
In a weird twist of events it turns out value is always a string when an option is focused and, since this interface is only used for focused autocomplete options I went ahead and changed that type and its name |
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.
AutocompleteOption
JSDoc needs updating too!
Co-Authored-By: Almeida <almeidx@pm.me>
5a50155
to
1d6d1cd
Compare
Please describe the changes this PR makes and why it should be merged:
The type of AutocompleteOption#value was wrong so I went ahead and fixed that and also made the other properties more accurate (made focused not optional and type more specific).
Status and versioning classification: