(context: SecurityContext, value: LocalSanitizedValue | string | null)
| 918 | constructor(private _interceptor: (value: string | null | any) => string) {} |
| 919 | |
| 920 | sanitize(context: SecurityContext, value: LocalSanitizedValue | string | null): string | null { |
| 921 | if (value instanceof LocalSanitizedValue) { |
| 922 | return value.toString(); |
| 923 | } |
| 924 | return this._interceptor(value); |
| 925 | } |
| 926 | |
| 927 | bypassSecurityTrustHtml(value: string) {} |
| 928 | bypassSecurityTrustStyle(value: string) {} |
no test coverage detected