(
target: T,
name: string | symbol,
{value}: {value: any} & ThisType<any>
)
| 85 | [[Enumerable]]: false, [[Configurable]]: true }. |
| 86 | */ |
| 87 | export function defineProperty<T extends object>( |
| 88 | target: T, |
| 89 | name: string | symbol, |
| 90 | {value}: {value: any} & ThisType<any> |
| 91 | ): void { |
| 92 | Object.defineProperty(target, name, { |
| 93 | configurable: true, |
| 94 | enumerable: false, |
| 95 | writable: true, |
| 96 | value, |
| 97 | }) |
| 98 | } |
| 99 | |
| 100 | export function ensureIntl(): typeof Intl { |
| 101 | if (typeof Intl === 'undefined') { |
no outgoing calls
no test coverage detected