mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix env, sw, pwa
This commit is contained in:
Vendored
+12
@@ -4,4 +4,16 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electronApi?: {
|
||||
isElectron: boolean;
|
||||
invoke: (channel: string, ...args: any[]) => Promise<any>;
|
||||
getNotificationStatus: () => Promise<'granted' | 'denied' | 'not-determined' | 'not-supported'>;
|
||||
getPlatform: () => Promise<NodeJS.Platform>;
|
||||
testNotification: () => Promise<{ success: boolean; reason?: string }>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user