chore(client): typecheck issues due to change in bootstrap definition

This commit is contained in:
Elian Doran
2026-03-26 19:38:27 +02:00
parent 01dae831a4
commit 0b136f3aae

View File

@@ -15,7 +15,7 @@ interface ElectronProcess {
platform: string;
}
interface CustomGlobals extends BootstrapDefinition {
interface CustomGlobals extends Extract<BootstrapDefinition, { dbInitialized: true }> {
isDesktop: typeof utils.isDesktop;
isMobile: typeof utils.isMobile;
getComponentByEl: typeof appContext.getComponentByEl;