Skip to content

Commit

Permalink
feat: replace IComplexType with IType
Browse files Browse the repository at this point in the history
fixes #13
  • Loading branch information
freund17 authored and alisd23 committed Dec 1, 2018
1 parent 85a9dba commit b3a5518
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"eslint-plugin-standard": "^2.0.0",
"jest": "^19.0.0",
"mobx": "^4.3.1",
"mobx-state-tree": "^3.0.0",
"mobx-state-tree": "^3.8.0",
"react": "^15.0.0",
"react-router": "^4.0.0",
"rimraf": "^2.5.4",
Expand All @@ -69,7 +69,7 @@
"webpack-cli": "^2.0.10"
},
"peerDependencies": {
"mobx-state-tree": "^3.0.0",
"mobx-state-tree": "^3.8.0",
"react-router": "4.x"
},
"dependencies": {}
Expand Down
4 changes: 2 additions & 2 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
// Definitions by: Keyj1n https://github.com/Keyj1n

import { History, Location, UnregisterCallback } from 'history';
import { IStateTreeNode, IModelType, ModelPropertiesDeclarationToProperties, IComplexType, Instance } from 'mobx-state-tree';
import { IModelType, ModelPropertiesDeclarationToProperties, IType, Instance } from 'mobx-state-tree';

declare namespace MstReactRouter {
type Props = {
location: IComplexType<Location, Location, Location>;
location: IType<Location, Location, Location>;
action: string;
}

Expand Down

0 comments on commit b3a5518

Please sign in to comment.