mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 17:52:32 +08:00
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:
parent
24026ff013
commit
144a7ff3a1
1
src/public/app/types.d.ts
vendored
1
src/public/app/types.d.ts
vendored
@ -43,6 +43,7 @@ interface CustomGlobals {
|
||||
appCssNoteIds: string[];
|
||||
triliumVersion: string;
|
||||
TRILIUM_SAFE_MODE: boolean;
|
||||
platform?: typeof process.platform;
|
||||
}
|
||||
|
||||
type RequireMethod = (moduleName: string) => any;
|
||||
|
Loading…
x
Reference in New Issue
Block a user