fix: remove signal type annotation for safeUrl (TS2749)
This commit is contained in:
parent
6f07a1b652
commit
fb2323f160
@ -17,7 +17,7 @@ export class BrowserComponent {
|
|||||||
readonly reloadKey = signal(0);
|
readonly reloadKey = signal(0);
|
||||||
|
|
||||||
/** Sanitized URL safe for iframe [src] binding. */
|
/** Sanitized URL safe for iframe [src] binding. */
|
||||||
readonly safeUrl: signal<SafeResourceUrl>;
|
safeUrl: any;
|
||||||
|
|
||||||
constructor(private sanitizer: DomSanitizer) {
|
constructor(private sanitizer: DomSanitizer) {
|
||||||
this.safeUrl = signal(sanitizer.bypassSecurityTrustResourceUrl('https://www.wikipedia.org'));
|
this.safeUrl = signal(sanitizer.bypassSecurityTrustResourceUrl('https://www.wikipedia.org'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user