diff --git a/packages/react-devtools-inline/src/frontend.js b/packages/react-devtools-inline/src/frontend.js index 0e90c884667a6..42c820126f285 100644 --- a/packages/react-devtools-inline/src/frontend.js +++ b/packages/react-devtools-inline/src/frontend.js @@ -18,7 +18,9 @@ import type {FrontendBridge} from 'react-devtools-shared/src/bridge'; import type {Props} from 'react-devtools-shared/src/devtools/views/DevTools'; type Config = {| + checkBridgeProtocolCompatibility?: boolean, supportsNativeInspection?: boolean, + supportsProfiling?: boolean, |}; export function createStore(bridge: FrontendBridge, config?: Config): Store { @@ -26,7 +28,8 @@ export function createStore(bridge: FrontendBridge, config?: Config): Store { checkBridgeProtocolCompatibility: true, supportsTraceUpdates: true, supportsTimeline: true, - supportsNativeInspection: config?.supportsNativeInspection !== false, + supportsNativeInspection: true, + ...config, }); }