From dc103348d5de0fedb932964daadd6b920abb4e40 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 4 Apr 2025 18:07:26 +0300 Subject: [PATCH] fix(client): build errors due to types --- src/public/app/components/app_context.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/app/components/app_context.ts b/src/public/app/components/app_context.ts index daec01e91..01715e071 100644 --- a/src/public/app/components/app_context.ts +++ b/src/public/app/components/app_context.ts @@ -68,7 +68,7 @@ export interface ExecuteCommandData 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;