(bridge: FrontendBridge, config?: Config)
| 13 | import type {Config} from 'react-devtools-shared/src/devtools/store'; |
| 14 | |
| 15 | export function createStore(bridge: FrontendBridge, config?: Config): Store { |
| 16 | return new Store(bridge, { |
| 17 | checkBridgeProtocolCompatibility: true, |
| 18 | supportsTraceUpdates: true, |
| 19 | supportsTimeline: true, |
| 20 | ...config, |
| 21 | }); |
| 22 | } |
| 23 | |
| 24 | export function createBridge(contentWindow: any, wall?: Wall): FrontendBridge { |
| 25 | if (wall == null) { |
no outgoing calls
no test coverage detected