(_, prop)
| 163 | {}, |
| 164 | { |
| 165 | get(_, prop) { |
| 166 | switch (prop) { |
| 167 | // https://github.com/facebook/react/issues/20030 |
| 168 | case '$$typeof': |
| 169 | return undefined; |
| 170 | case 'toJSON': |
| 171 | return () => ({}); |
| 172 | case 'addListener': |
| 173 | return pluginHeader ? addListenerNative : addListener; |
| 174 | case 'removeListener': |
| 175 | return removeListener; |
| 176 | default: |
| 177 | return createPluginMethodWrapper(prop); |
| 178 | } |
| 179 | }, |
| 180 | }, |
| 181 | ); |
| 182 |
nothing calls this directly
no test coverage detected