-
Notifications
You must be signed in to change notification settings - Fork 929
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve TypeScript typings (#165)
* Update actions types * Remove props from GetButtonPropsOptions These props are not required for getButtonProps. * Make getItemProps index optional * Update state types * Update DownshiftProps and A11StatusMessageOptions Allow null in places where the docs say they can go. Add missing `itemCount` property. * Remove version number from types * Update contributors * Address PR comments * Rename `changes` back to `options`. * Add optional arguments in the right places. * Use `Function` as type for `cb`. * Use `object` ast type for `otherStateToSet`. * Fix incorrect name `setHighlightedItem` by changing it to `setHighlightedIndex`. * Address updated PR comments * Rename `A11StatusMessageOptions` to `A11yStatusMessageOptions`. * Remove `ChangeOptions`. * Remove `onClick` prop. * Update README.md
- Loading branch information
1 parent
7b4a40c
commit 0f71611
Showing
3 changed files
with
29 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters