Enable native dialogs across shells

This commit is contained in:
Shantur Rathore
2025-11-23 00:36:43 +00:00
parent 00bd9f9c1c
commit 4062b43380
19 changed files with 946 additions and 13 deletions

View File

@@ -14,6 +14,10 @@ declare global {
event?: {
listen: (event: string, handler: (payload: { payload: unknown }) => void) => Promise<() => void>
}
dialog?: {
open?: (options: Record<string, unknown>) => Promise<string | string[] | null>
save?: (options: Record<string, unknown>) => Promise<string | null>
}
}
}
}