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

Toolbar/ToolbarDropdownMenu Typescript Conversion #54321

Merged
merged 5 commits into from
Sep 11, 2023
Prev Previous commit
Next Next commit
Spelling
  • Loading branch information
margolisj committed Sep 8, 2023
commit 872ddd7532bb03f44813b47a8905f52c51a099d0
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type WordPressComponentProps<
> = P &
// The `children` prop is being explicitly omitted since it is otherwise implicitly added
// by `ComponentPropsWithRef`. The context is that components should require the `children`
// prop explicitely when needed (see https://github.com/WordPress/gutenberg/pull/31817).
// prop explicitly when needed (see https://github.com/WordPress/gutenberg/pull/31817).
Omit< React.ComponentPropsWithoutRef< T >, 'as' | keyof P | 'children' > &
( IsPolymorphic extends true
? {
Expand Down