fix: remove signal type annotation for safeUrl (TS2749)

This commit is contained in:
Butterfly Dev 2026-04-07 04:03:27 +00:00
parent 6f07a1b652
commit fb2323f160

View File

@ -17,7 +17,7 @@ export class BrowserComponent {
readonly reloadKey = signal(0);
/** Sanitized URL safe for iframe [src] binding. */
readonly safeUrl: signal<SafeResourceUrl>;
safeUrl: any;
constructor(private sanitizer: DomSanitizer) {
this.safeUrl = signal(sanitizer.bypassSecurityTrustResourceUrl('https://www.wikipedia.org'));