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
chore(client): typecheck issues due to change in bootstrap definition
Elian Doran0b136f3aae06
diff --git a/apps/client/src/types.d.ts b/apps/client/src/types.d.tsindex 545ff8e029..9891c1472f 100644--- a/apps/client/src/types.d.ts+++ b/apps/client/src/types.d.ts@@ -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;