Skip to content

Commit

Permalink
Remove unnecessary types
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jun 6, 2024
1 parent e2f4c19 commit 3c655d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions src/adapters/FetchMockServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,3 @@ export type FetchMockFakeRestRequest = Partial<Request> & {
queryString?: string;
params?: { [key: string]: any };
};

export type FetchMockRequestInterceptor = (
request: FetchMockFakeRestRequest,
) => FetchMockFakeRestRequest;

export type FetchMockResponseInterceptor = (
response: MockResponseObject,
request: FetchMockFakeRestRequest,
) => MockResponseObject;
9 changes: 0 additions & 9 deletions src/adapters/msw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,3 @@ const getCollectionHandlers = ({
};

export type MswFakeRestRequest = Partial<Request> & BaseRequest;

export type MswRequestInterceptor = (
request: MswFakeRestRequest,
) => MswFakeRestRequest;

export type MswResponseInterceptor = (
response: HttpResponse,
request: Request,
) => HttpResponse;

0 comments on commit 3c655d1

Please sign in to comment.