From a45fef82eed949b9c5b9c64f5dc64c207c7f8dc4 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 2 Dec 2020 16:59:18 +0900 Subject: [PATCH] bug fixed --- .../src/lib/services/notification.service.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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:',