This commit is contained in:
2022-06-15 00:35:49 +02:00
parent 01b8c4eaf6
commit 761b43efc2
7 changed files with 101 additions and 12 deletions

View File

@ -6,7 +6,7 @@ import type { Diary, Project, ContentList } from "../../lib/content/types";
interface CommandInterfaceCallbacks {
setModalVisible?: (visible: boolean) => void;
setModalContent?: (content: Project | Diary, selectedPage?: number) => void;
setModalHTML?: (html: string) => void;
setModalHTML?: (html: any) => void;
}
const commandInterface = new CommandInterface();

View File

@ -5,7 +5,7 @@ import type { Project, Diary } from "../../lib/content/types";
interface ModalFunctions {
setVisible?: CallableFunction;
setContent?: (content: Project| Diary) => void;
setHtml?: (html: string) => void;
setHtml?: (html: any) => void;
onContentReady?: () => void;
}