fix: remove number type
This commit is contained in:
parent
dc1520ba62
commit
5cdf189f5a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user