refactor(common): Add missing OnDestroy interface in PreconnectLinkChecker

The OnDestroy interface was implemented but not declared; this adds the missing interface declaration

(cherry picked from commit 207baad322)
This commit is contained in:
SkyZeroZx 2025-10-21 13:30:07 -05:00 committed by Kristiyan Kostadinov
parent 4b318d0cc0
commit 752986bfc2

View file

@ -12,6 +12,7 @@ import {
InjectionToken,
ɵformatRuntimeError as formatRuntimeError,
DOCUMENT,
OnDestroy,
} from '@angular/core';
import {RuntimeErrorCode} from '../../errors';
@ -53,7 +54,7 @@ export const PRECONNECT_CHECK_BLOCKLIST = new InjectionToken<Array<string | stri
* thus there is no `ngDevMode` use in the code.
*/
@Injectable({providedIn: 'root'})
export class PreconnectLinkChecker {
export class PreconnectLinkChecker implements OnDestroy {
private document = inject(DOCUMENT);
/**