Add easteregg

This commit is contained in:
2022-06-12 20:15:16 +02:00
parent f33b15bfa0
commit bd3fe1518d
4 changed files with 18 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
import type { ContentList } from "../content/types";
import type { ContentList, Diary, Project } from "../content/types";
import { printSyntax, commandList } from "./definitions";
interface CommandInterfaceCallbacks {
setModalVisible?: CallableFunction;
setModalContent?: CallableFunction;
setModalVisible?: (visible: boolean) => void;
setModalContent?: (content: Project|Diary, selectedPage?: number) => void;
setModalHTML?: (html: string) => void;
}
export class CommandInterface {