Skip to content

Commit 67e9577

Browse files
author
Andrey Kogut
committed
Export $mobx flag for devtools
1 parent ee3f286 commit 67e9577

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/mobx.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ export {
144144
} from "./internal"
145145

146146
// Devtools support
147-
import { spy } from "./internal"
148-
import { getDebugName } from "./internal"
147+
import { spy, getDebugName, $mobx } from "./internal"
149148

150149
declare var __MOBX_DEVTOOLS_GLOBAL_HOOK__: { injectMobx: ((any) => void) }
151150
if (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === "object") {
@@ -154,6 +153,7 @@ if (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === "object") {
154153
spy,
155154
extras: {
156155
getDebugName
157-
}
156+
},
157+
$mobx
158158
})
159159
}

0 commit comments

Comments
 (0)