Skip to content

Commit

Permalink
type: Fix type errors. #117
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 23, 2020
1 parent 936c688 commit 176e1a1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ export interface Mocker {

export interface MockerOption {
changeHost?: boolean;
pathRewrite?: {
[key: string]: 'string';
},
proxy?: {
[key: string]: 'string';
},
pathRewrite?: Record<string, string>,
proxy?: Record<string, string>,
httpProxy?: {
options?: httpProxy.ServerOptions;
listeners?: {
Expand Down

0 comments on commit 176e1a1

Please sign in to comment.