File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/react-devtools-inline/src Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,18 @@ import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
1818import type { Props } from 'react-devtools-shared/src/devtools/views/DevTools' ;
1919
2020type Config = { |
21+ checkBridgeProtocolCompatibility ? : boolean ,
2122 supportsNativeInspection ? : boolean ,
23+ supportsProfiling ? : boolean ,
2224| } ;
2325
2426export function createStore ( bridge : FrontendBridge , config ?: Config ) : Store {
2527 return new Store ( bridge , {
2628 checkBridgeProtocolCompatibility : true ,
2729 supportsTraceUpdates : true ,
2830 supportsTimeline : true ,
29- supportsNativeInspection : config ?. supportsNativeInspection !== false ,
31+ supportsNativeInspection : true ,
32+ ...config ,
3033 } ) ;
3134}
3235
You can’t perform that action at this time.
0 commit comments