Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Use object literal for router args types
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoLegends authored and tptee committed Mar 28, 2018
1 parent baef892 commit 3badee9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ export interface ExpressRouterArgs {
path: string;
baseUrl: string;
url: string;
query: {
[key: string]: string;
};
query: ObjectLiteral<string>;
passRouterStateToReducer?: boolean;
};
}
Expand All @@ -176,9 +174,7 @@ export interface HapiRouterArgs {
request: {
path: string;
url: string;
query: {
[key: string]: string;
}
query: ObjectLiteral<string>;
};
}

Expand Down

0 comments on commit 3badee9

Please sign in to comment.