()
| 446 | } |
| 447 | |
| 448 | function getCurrentStackInDEV(): string { |
| 449 | if (__DEV__) { |
| 450 | const owner: null | ReactComponentInfo = resolveOwner(); |
| 451 | if (owner === null) { |
| 452 | return ''; |
| 453 | } |
| 454 | return getOwnerStackByComponentInfoInDev(owner); |
| 455 | } |
| 456 | return ''; |
| 457 | } |
| 458 | |
| 459 | const ObjectPrototype = Object.prototype; |
| 460 |
nothing calls this directly
no test coverage detected