diff --git a/projects/notification-electron/src/lib/services/notification.service.ts b/projects/notification-electron/src/lib/services/notification.service.ts index 014cbb7..126d9c4 100644 --- a/projects/notification-electron/src/lib/services/notification.service.ts +++ b/projects/notification-electron/src/lib/services/notification.service.ts @@ -148,10 +148,10 @@ class WindowPooler { } } -type Activated = { +interface Activated { notification: Notification; browserWindow: Electron.BrowserWindow; -}; +} export class NotificationService { private readonly __defaultOptions: DefaultOptions; @@ -482,8 +482,6 @@ export class NotificationService { } private __templateUrl(notification: Notification): string { - let u: string = ''; - const filePath2Url = (filePath: string) => { return url.format({ protocol: 'file:',