Skip to content

Commit

Permalink
fix: declare resetHistory method in MockAdapter class
Browse files Browse the repository at this point in the history
  • Loading branch information
alburkerk committed Mar 27, 2019
1 parent 0e6f790 commit 9064f2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types/index.d.ts
Expand Up @@ -47,9 +47,10 @@ declare class MockAdapter {

adapter(): AxiosAdapter;
reset(): void;
resetHistory(): void;
restore(): void;
history: { [method:string]:AxiosRequestConfig[]; };

history: { [method: string]: AxiosRequestConfig[] };

onGet: RequestMatcherFunc;
onPost: RequestMatcherFunc;
Expand Down

0 comments on commit 9064f2e

Please sign in to comment.