( target: T, name: string | symbol, value: any )
| 116 | * @param value |
| 117 | */ |
| 118 | export function createDataProperty<T extends object>( |
| 119 | target: T, |
| 120 | name: string | symbol, |
| 121 | value: any |
| 122 | ): void { |
| 123 | Object.defineProperty(target, name, { |
| 124 | configurable: true, |
| 125 | enumerable: true, |
| 126 | writable: true, |
| 127 | value, |
| 128 | }) |
| 129 | } |
| 130 | |
| 131 | export function invariant( |
| 132 | condition: boolean, |
no outgoing calls
no test coverage detected