(context: SecurityContext, value: LocalSanitizedValue | string | null)
| 897 | constructor(private _interceptor: (value: string | null | any) => string) {} |
| 898 | |
| 899 | sanitize(context: SecurityContext, value: LocalSanitizedValue | string | null): string | null { |
| 900 | if (value instanceof LocalSanitizedValue) { |
| 901 | return value.toString(); |
| 902 | } |
| 903 | return this._interceptor(value); |
| 904 | } |
| 905 | |
| 906 | bypassSecurityTrustHtml(value: string) {} |
| 907 | bypassSecurityTrustStyle(value: string) {} |
no test coverage detected