(componentInfo: null | ReactComponentInfo)
| 17 | let currentOwner: ReactComponentInfo | null = null; |
| 18 | |
| 19 | export function setCurrentOwner(componentInfo: null | ReactComponentInfo) { |
| 20 | currentOwner = componentInfo; |
| 21 | } |
| 22 | |
| 23 | export function resolveOwner(): null | ReactComponentInfo { |
| 24 | if (currentOwner) return currentOwner; |
no outgoing calls
no test coverage detected