Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client): build errors due to types
Elian Dorandc103348d5de
diff --git a/src/public/app/components/app_context.ts b/src/public/app/components/app_context.tsindex daec01e914..01715e071e 100644--- a/src/public/app/components/app_context.ts+++ b/src/public/app/components/app_context.ts@@ -68,7 +68,7 @@ export interface ExecuteCommandData<T> extends CommandData {export interface NoteSwitchedContext {noteContext: NoteContext;- notePath: string | null;+ notePath: string | null | undefined;}/**@@ -329,7 +329,7 @@ type EventMappings = {ntxId: string | null;};contextsReopened: {- ntxId: string;+ ntxId?: string;mainNtxId: string | null;tabPosition: number;afterNtxId?: string;