Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mweststrate/MOBservable
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Aug 29, 2016
2 parents fbd9b27 + 7193b8e commit bfeeeb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mobx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,9 @@ export const _ = {
getAdministration,
resetGlobalState
};

declare var __MOBX_DEVTOOLS_GLOBAL_HOOK__: { injectMobx: ((any) => void)};
declare var module: { exports: any };
if (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === 'object') {
__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx(module.exports)
}

0 comments on commit bfeeeb7

Please sign in to comment.