Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: use `NodeJS.Platform` instead of `process.platform`

Abdullah Attafa4a298bfa95
diff --git a/apps/web/src/global.d.ts b/apps/web/src/global.d.ts
index fb14fddbd..919bf3aca 100644
--- a/apps/web/src/global.d.ts
+++ b/apps/web/src/global.d.ts
@@ -32,7 +32,7 @@ type DesktopIntegrationSettings = {
};
declare interface Window {
- os: typeof process.platform & "mas";
+ os: NodeJS.Platform | "mas";
config: {
static spellChecker(): Promise<SpellCheckerOptions>;
static desktopIntegration(): Promise<DesktopIntegrationSettings>;