fix: correct return type of getDefaultReactSlashMenuItems to include key #6890
Annotations
12 errors and 3 warnings
|
Playwright Tests - webkit
Process completed with exit code 1.
|
|
Playwright Tests - webkit
Argument of type '{ title: string; subtext: string; onItemClick: () => Block<BlockSchemaFromSpecs<{ readonly audio: import("/__w/BlockNote/BlockNote/packages/core/types/src/index").BlockSpec<"audio", { readonly backgroundColor: { default: "default"; }; readonly name: { readonly default: ""; }; readonly url: { readonly default: ""; };...' is not assignable to parameter of type 'Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }'.
|
|
Playwright Tests - webkit
Type '(props: SuggestionMenuProps<DefaultReactSuggestionItem>) => Element' is not assignable to type 'FunctionComponent<SuggestionMenuProps<Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }>>'.
|
|
Playwright Tests - firefox
Process completed with exit code 1.
|
|
Playwright Tests - firefox
Argument of type '{ title: string; subtext: string; onItemClick: () => Block<BlockSchemaFromSpecs<{ readonly audio: import("/__w/BlockNote/BlockNote/packages/core/types/src/index").BlockSpec<"audio", { readonly backgroundColor: { default: "default"; }; readonly name: { readonly default: ""; }; readonly url: { readonly default: ""; };...' is not assignable to parameter of type 'Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }'.
|
|
Playwright Tests - firefox
Type '(props: SuggestionMenuProps<DefaultReactSuggestionItem>) => Element' is not assignable to type 'FunctionComponent<SuggestionMenuProps<Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }>>'.
|
|
Playwright Tests - chromium
Process completed with exit code 1.
|
|
Playwright Tests - chromium
Argument of type '{ title: string; subtext: string; onItemClick: () => Block<BlockSchemaFromSpecs<{ readonly audio: import("/__w/BlockNote/BlockNote/packages/core/types/src/index").BlockSpec<"audio", { readonly backgroundColor: { default: "default"; }; readonly name: { readonly default: ""; }; readonly url: { readonly default: ""; };...' is not assignable to parameter of type 'Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }'.
|
|
Playwright Tests - chromium
Type '(props: SuggestionMenuProps<DefaultReactSuggestionItem>) => Element' is not assignable to type 'FunctionComponent<SuggestionMenuProps<Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }>>'.
|
|
Build
Process completed with exit code 1.
|
|
Build
Argument of type '{ title: string; subtext: string; onItemClick: () => Block<BlockSchemaFromSpecs<{ readonly audio: import("/home/runner/work/BlockNote/BlockNote/packages/core/types/src/index").BlockSpec<"audio", { readonly backgroundColor: { default: "default"; }; readonly name: { readonly default: ""; }; readonly url: { readonly de...' is not assignable to parameter of type 'Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }'.
|
|
Build
Type '(props: SuggestionMenuProps<DefaultReactSuggestionItem>) => Element' is not assignable to type 'FunctionComponent<SuggestionMenuProps<Omit<DefaultSuggestionItem, "key"> & { icon?: Element | undefined; size?: "small" | "default" | undefined; } & { key: "audio" | "table" | ... 20 more ... | "emoji"; }>>'.
|
|
Playwright Tests - webkit
No files were found with the provided path: tests/playwright-report/. No artifacts will be uploaded.
|
|
Playwright Tests - firefox
No files were found with the provided path: tests/playwright-report/. No artifacts will be uploaded.
|
|
Playwright Tests - chromium
No files were found with the provided path: tests/playwright-report/. No artifacts will be uploaded.
|