Skip to content

Commit 52156c6

Browse files
committed
Fix toolbar item type assertion
1 parent d1282c7 commit 52156c6

File tree

1 file changed

+1
-1
lines changed
  • web/ui-customization-doc-editor-sidebar/src

1 file changed

+1
-1
lines changed

web/ui-customization-doc-editor-sidebar/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function App() {
5151
}).then((instance) => {
5252
// Define a custom toolbar item.
5353
const documentEditorToolbarItem = {
54-
type: "custom",
54+
type: "custom" as const,
5555
id: "documentEditorToolbarItem",
5656
title: "Document Editor",
5757
dropdownGroup: "sidebar",

0 commit comments

Comments
 (0)