refactor(debt-dialog): update timerSubscription type to Subscription
All checks were successful
All checks were successful
This commit is contained in:
parent
7bec17dd52
commit
3d7ee92cf2
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
} from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { animate, style, transition, trigger } from '@angular/animations';
|
||||
import { interval, takeWhile } from 'rxjs';
|
||||
import { interval, Subscription, takeWhile } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'app-debt-dialog',
|
||||
|
@ -131,7 +131,7 @@ export class DebtDialogComponent implements OnInit, OnDestroy {
|
|||
|
||||
visible = false;
|
||||
timeLeft = signal(30);
|
||||
private timerSubscription: any;
|
||||
private timerSubscription: Subscription | undefined;
|
||||
private warningSound = new Audio('assets/sounds/warning.mp3');
|
||||
|
||||
ngOnInit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue