fix: remove number type

This commit is contained in:
Polianin Nikita 2024-02-13 09:52:55 +03:00
parent dc1520ba62
commit 5cdf189f5a

View File

@ -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);