mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: use NodeJS.Platform instead of process.platform
This commit is contained in:
2
apps/web/src/global.d.ts
vendored
2
apps/web/src/global.d.ts
vendored
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user