From 5cdf189f5ac2f8a60b78ea7fbfa9412759ae571a Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Tue, 13 Feb 2024 09:52:55 +0300 Subject: [PATCH] fix: remove number type --- src/components/notification/notification.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/notification/notification.component.ts b/src/components/notification/notification.component.ts index b4c6f12..f065398 100644 --- a/src/components/notification/notification.component.ts +++ b/src/components/notification/notification.component.ts @@ -33,7 +33,7 @@ export class NotificationComponent { private startProgress(duration: number): void { const interval: number = duration / 100; - const progressInterval: number = setInterval(() => { + const progressInterval = setInterval(() => { this.progress--; if (this.progress === 0) { clearInterval(progressInterval);