
* refactor: prevent consistent early exception * Use _linkedBinding where possible * Remove dead electronBinding
8 lines
207 B
TypeScript
8 lines
207 B
TypeScript
const {
|
|
Notification: ElectronNotification,
|
|
isSupported
|
|
} = process._linkedBinding('electron_common_notification');
|
|
|
|
ElectronNotification.isSupported = isSupported;
|
|
|
|
export default ElectronNotification;
|