mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-28 10:55:01 +08:00
fix(client): build errors due to types
This commit is contained in:
parent
67f39e8bde
commit
dc103348d5
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user