chore(types.d.ts): add missing platform prop to CustomGlobals

as used e.g. in dekstop.js – supplied via ejs (and then rendered via `./src/views/partials/windowGlobal`

I left it as optional however, because e.g. it does not seem to exist on *all* pages
This commit is contained in:
Panagiotis Papadopoulos 2025-01-27 20:48:06 +01:00
parent 24026ff013
commit 144a7ff3a1

View File

@ -43,6 +43,7 @@ interface CustomGlobals {
appCssNoteIds: string[];
triliumVersion: string;
TRILIUM_SAFE_MODE: boolean;
platform?: typeof process.platform;
}
type RequireMethod = (moduleName: string) => any;