web: use NodeJS.Platform instead of process.platform

This commit is contained in:
Abdullah Atta
2023-03-22 10:45:03 +05:00
parent 966bedbb49
commit fa4a298bfa

View File

@@ -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>;