Skip to content

Build your personal knowledge base with Trilium Notes

chore(client/print): fix types

Elian Doran39be26896982
diff --git a/apps/client/src/types.d.ts b/apps/client/src/types.d.ts
index c386a67f0b..7128ea5d80 100644
--- a/apps/client/src/types.d.ts
+++ b/apps/client/src/types.d.ts
@@ -64,6 +64,11 @@ declare global {
EXCALIDRAW_ASSET_PATH?: string;
}
+ interface WindowEventMap {
+ "note-ready": Event;
+ "note-load-progress": CustomEvent<{ progress: number }>;
+ }
+
interface AutoCompleteConfig {
appendTo?: HTMLElement | null;
hint?: boolean;