fix: correct return type of getDefaultReactSlashMenuItems to include key #2416
Annotations
3 errors and 1 warning
|
Build packages
Process completed with exit code 1.
|
|
Build packages
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"; }'.
|
|
Build packages
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"; }>>'.
|
|
Run actions/upload-artifact@v4
No files were found with the provided path: tests/playwright-report/. No artifacts will be uploaded.
|
Loading