electron/lib/browser/api/notification.ts

8 lines
208 B
TypeScript

const {
Notification: ElectronNotification,
isSupported
} = process._linkedBinding('electron_browser_notification');
ElectronNotification.isSupported = isSupported;
export default ElectronNotification;