Skip to content

Commit

Permalink
Add history to typescript definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Backfighter committed Dec 31, 2018
1 parent 027a821 commit 677f1f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.d.ts
Expand Up @@ -48,6 +48,8 @@ declare class MockAdapter {
adapter(): AxiosAdapter;
reset(): void;
restore(): void;

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

onGet: RequestMatcherFunc;
onPost: RequestMatcherFunc;
Expand Down

0 comments on commit 677f1f1

Please sign in to comment.