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 {
|
private startProgress(duration: number): void {
|
||||||
const interval: number = duration / 100;
|
const interval: number = duration / 100;
|
||||||
const progressInterval: number = setInterval(() => {
|
const progressInterval = setInterval(() => {
|
||||||
this.progress--;
|
this.progress--;
|
||||||
if (this.progress === 0) {
|
if (this.progress === 0) {
|
||||||
clearInterval(progressInterval);
|
clearInterval(progressInterval);
|
||||||
|
Loading…
Reference in New Issue
Block a user