Skip to content

Commit

Permalink
fix: RouterModel.create() typings (closes #16) (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisd23 authored Dec 18, 2018
1 parent 3dbcbf9 commit 295d9af
Showing 1 changed file with 2 additions and 2 deletions.
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 { IModelType, ModelPropertiesDeclarationToProperties, IType, Instance } from 'mobx-state-tree';
import { IModelType, ModelPropertiesDeclarationToProperties, IType, IOptionalIType, Instance } from 'mobx-state-tree';

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

Expand Down

0 comments on commit 295d9af

Please sign in to comment.