From c4d2c2b8deff75d9245787f0d3dbe1a7964361e3 Mon Sep 17 00:00:00 2001 From: Jin <22962980+JYC333@users.noreply.github.com> Date: Tue, 4 Mar 2025 00:42:29 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20remove=20redundant?= =?UTF-8?q?=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/app/widgets/dialogs/add_link.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/public/app/widgets/dialogs/add_link.ts b/src/public/app/widgets/dialogs/add_link.ts index 4d8f416f4..fff519a1e 100644 --- a/src/public/app/widgets/dialogs/add_link.ts +++ b/src/public/app/widgets/dialogs/add_link.ts @@ -6,11 +6,6 @@ import BasicWidget from "../basic_widget.js"; import type { Suggestion } from "../../services/note_autocomplete.js"; import type { default as TextTypeWidget } from "../type_widgets/editable_text.js"; -interface NoteAutocompleteElement extends HTMLElement { - getSelectedNotePath(): string | null; - getSelectedExternalLink(): string | null; -} - const TPL = `