Skip to content

Commit

Permalink
Revert types of onLink, onUnlink and onList
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbachmann committed Aug 5, 2024
1 parent 617b0c7 commit f45c074
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ declare class MockAdapter {

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

onList: NoBodyRequestMatcherFunc;
onOptions: NoBodyRequestMatcherFunc;
onAny: NoBodyRequestMatcherFunc;
onLink: NoBodyRequestMatcherFunc;
onUnlink: NoBodyRequestMatcherFunc;
onGet: NoBodyRequestMatcherFunc;
onHead: NoBodyRequestMatcherFunc;
onDelete: NoBodyRequestMatcherFunc;
onHead: NoBodyRequestMatcherFunc;
onOptions: NoBodyRequestMatcherFunc;
onPost: RequestMatcherFunc;
onPut: RequestMatcherFunc;
onPatch: RequestMatcherFunc;
onList: RequestMatcherFunc;
onLink: RequestMatcherFunc;
onUnlink: RequestMatcherFunc;
}

export = MockAdapter;

0 comments on commit f45c074

Please # to comment.