(context: SecurityContext, value: LocalSanitizedValue | string | null)
| 758 | constructor(private _interceptor: (value: string | null | any) => string) {} |
| 759 | |
| 760 | sanitize(context: SecurityContext, value: LocalSanitizedValue | string | null): string | null { |
| 761 | if (value instanceof LocalSanitizedValue) { |
| 762 | return value.toString(); |
| 763 | } |
| 764 | return this._interceptor(value); |
| 765 | } |
| 766 | |
| 767 | bypassSecurityTrustHtml(value: string) {} |
| 768 | bypassSecurityTrustStyle(value: string) {} |
no test coverage detected