File tree 2 files changed +4
-6
lines changed
react-devtools-inline/src
react-devtools-shared/src/devtools 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,16 @@ import {
15
15
16
16
import type { Wall } from 'react-devtools-shared/src/types' ;
17
17
import type { FrontendBridge } from 'react-devtools-shared/src/bridge' ;
18
+ import type { Config } from 'react-devtools-shared/src/devtools/store' ;
18
19
import type { Props } from 'react-devtools-shared/src/devtools/views/DevTools' ;
19
20
20
- type Config = { |
21
- supportsNativeInspection ? : boolean ,
22
- | } ;
23
-
24
21
export function createStore ( bridge : FrontendBridge , config ?: Config ) : Store {
25
22
return new Store ( bridge , {
26
23
checkBridgeProtocolCompatibility : true ,
27
24
supportsTraceUpdates : true ,
28
25
supportsTimeline : true ,
29
- supportsNativeInspection : config ?. supportsNativeInspection !== false ,
26
+ supportsNativeInspection : true ,
27
+ ...config ,
30
28
} ) ;
31
29
}
32
30
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const LOCAL_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY =
64
64
65
65
type ErrorAndWarningTuples = Array < { | id : number , index : number | } > ;
66
66
67
- type Config = { |
67
+ export type Config = { |
68
68
checkBridgeProtocolCompatibility ? : boolean ,
69
69
isProfiling ? : boolean ,
70
70
supportsNativeInspection ? : boolean ,
You can’t perform that action at this time.
0 commit comments