(context: SecurityContext, value: LocalSanitizedValue | string | null)
| 772 | constructor(private _interceptor: (value: string | null | any) => string) {} |
| 773 | |
| 774 | sanitize(context: SecurityContext, value: LocalSanitizedValue | string | null): string | null { |
| 775 | if (value instanceof LocalSanitizedValue) { |
| 776 | return value.toString(); |
| 777 | } |
| 778 | return this._interceptor(value); |
| 779 | } |
| 780 | |
| 781 | bypassSecurityTrustHtml(value: string) {} |
| 782 | bypassSecurityTrustStyle(value: string) {} |
no test coverage detected