From 074192df13a32c5733101f17855671600c267b21 Mon Sep 17 00:00:00 2001 From: Michael Naumov Date: Tue, 17 Dec 2024 10:19:21 -0600 Subject: [PATCH] fix: Bookmarks signatures --- .../InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts b/src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts index 1d14ea20..32860aca 100644 --- a/src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts +++ b/src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts @@ -32,15 +32,15 @@ export interface BookmarksPluginInstance extends InternalPluginInstance; - _onItemsChanged(arg1: boolean): void; - addItem(item: BookmarkItem, instance: BookmarksPluginInstance): void; + _onItemsChanged(shouldSave: boolean): void; + addItem(item: BookmarkItem, instance?: BookmarksPluginInstance): void; editItem(item: BookmarkItem): void; findBookmarkByView(view: FileView): BookmarkItem | null | undefined; getBookmarks(): BookmarkItem[]; getItemTitle(item: BookmarkItem): string; initLeaf(): void; loadData(): Promise; - moveItem(item: BookmarkItem, instance: BookmarksPluginInstance, arg3: number): void; + moveItem(item: BookmarkItem, instance: BookmarksPluginInstance | undefined, index: number): void; onEditorMenu(menu: Menu, editor: Editor, info: MarkdownView | MarkdownFileInfo): void; onEnable(app: App, plugin: BookmarksPlugin): Promise; onExternalSettingsChange(): Promise;