Skip to content

Commit

Permalink
updated IOptionalIType (#19)
Browse files Browse the repository at this point in the history
* fix: updated IOptionalIType

reacting to changes made in [email protected]

fixes #18

* chore: updated mst version
  • Loading branch information
freund17 authored and alisd23 committed Jul 25, 2019
1 parent 295d9af commit 607f82e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"history": "^4.7.2",
"jest": "^19.0.0",
"mobx": "^4.3.1",
"mobx-state-tree": "^3.8.0",
"mobx-state-tree": "^3.11.0",
"react": "^15.0.0",
"react-router": "^4.0.0",
"rimraf": "^2.5.4",
Expand All @@ -71,7 +71,7 @@
},
"peerDependencies": {
"mobx": "^4.3.1",
"mobx-state-tree": "^3.8.0",
"mobx-state-tree": "^3.11.0",
"history": "^4.7.2"
},
"dependencies": {}
Expand Down
4 changes: 2 additions & 2 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IModelType, ModelPropertiesDeclarationToProperties, IType, IOptionalITy

declare namespace MstReactRouter {
type Props = {
location: IOptionalIType<IType<Location, Location, Location>>;
location: IOptionalIType<IType<Location, Location, Location>, [undefined]>;
action: string;
}

Expand All @@ -27,4 +27,4 @@ declare namespace MstReactRouter {
export function syncHistoryWithStore(history: History, store: RouterModel): SynchronizedHistory;
}

export = MstReactRouter;
export = MstReactRouter;
7 changes: 4 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5155,9 +5155,10 @@ mixin-deep@^1.2.0:
dependencies:
minimist "0.0.8"

mobx-state-tree@^3.8.0:
version "3.9.0"
resolved "https://registry.yarnpkg.com/mobx-state-tree/-/mobx-state-tree-3.9.0.tgz#78fc35fc0b64e6d38335a4dcb2b234f9c7e589e7"
mobx-state-tree@^3.11.0:
version "3.12.2"
resolved "https://registry.yarnpkg.com/mobx-state-tree/-/mobx-state-tree-3.12.2.tgz#4bc8ab0303d1bba222627091c3db311c7de19ee9"
integrity sha512-l6c4litG9igU4BgQmZYu3bBaXMZnxJiuJzIrfNzV4tDTjuejAOuTM/P2tiPiC2QUsjdqCaDpnieLkpezwBzMIg==

mobx@^4.3.1:
version "4.6.0"
Expand Down

0 comments on commit 607f82e

Please sign in to comment.