diff --git a/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts b/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts index a57dfe0..dd60fdc 100644 --- a/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts +++ b/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts @@ -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() {