From f45c0744592ac7ec12a1e79a2b77c28b1da8ff8d Mon Sep 17 00:00:00 2001 From: Marc Bachmann Date: Mon, 5 Aug 2024 11:47:23 +0200 Subject: [PATCH] Revert types of onLink, onUnlink and onList --- types/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index a4c7aa9..d6038d3 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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;