Skip to content

Commit

Permalink
Add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jan 28, 2023
1 parent ea95000 commit 359efa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/keyboard-shortcuts/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
import type { useKeyboardShortcut } from '@wordpress/compose';

// TODO: We wouldn't have to do this if this type was exported from `@wordpress/compose`.
type WPKeyboardShortcutConfig = NonNullable<
Parameters< typeof useKeyboardShortcut >[ 2 ]
>;
Expand Down

0 comments on commit 359efa5

Please sign in to comment.