Skip to content

Commit

Permalink
Merge pull request #182 from Backfighter/patch-1
Browse files Browse the repository at this point in the history
Add history to typescript definition
  • Loading branch information
ctimmerm committed Dec 31, 2018
2 parents 027a821 + 677f1f1 commit 9836b59
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 9836b59

Please sign in to comment.