refactor(debt-dialog): update timerSubscription type to Subscription
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Successful in 22s
CI / test-build (pull_request) Successful in 36s
CI / prettier (pull_request) Successful in 43s
CI / Checkstyle Main (pull_request) Successful in 1m46s

This commit is contained in:
Jan-Marlon Leibl 2025-04-02 13:07:01 +02:00
parent 7bec17dd52
commit 3d7ee92cf2
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5

View file

@ -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() {