(value: T | SafeValue)
| 100 | export function unwrapSafeValue(value: SafeValue): string; |
| 101 | export function unwrapSafeValue<T>(value: T): T; |
| 102 | export function unwrapSafeValue<T>(value: T | SafeValue): T { |
| 103 | return value instanceof SafeValueImpl |
| 104 | ? (value.changingThisBreaksApplicationSecurity as any as T) |
| 105 | : (value as any as T); |
| 106 | } |
| 107 | |
| 108 | export function allowSanitizationBypassAndThrow( |
| 109 | value: any, |
no outgoing calls
no test coverage detected
searching dependent graphs…