Skip to content

Commit

Permalink
Merge pull request #810 from wheresrhys/rhys/export-more-types
Browse files Browse the repository at this point in the history
feat: export more types from @fetch-mock/core
  • Loading branch information
wheresrhys authored Aug 15, 2024
2 parents 90fcc02 + 02b190e commit 4159741
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
import fetchMock, { FetchMock } from './FetchMock.js';
import fetchMock, { FetchMockConfig, FetchMock } from './FetchMock.js';
import { CallHistoryFilter, CallLog } from './CallHistory.js';
import { RouteMatcher, MatcherDefinition } from './Matchers.js';
import { UserRouteConfig, RouteResponse, RouteName } from './Route.js';

export {
FetchMockConfig,
FetchMock,
CallHistoryFilter,
CallLog,
RouteMatcher,
MatcherDefinition,
UserRouteConfig,
RouteResponse,
RouteName,
};
export default fetchMock;
export { FetchMock };

0 comments on commit 4159741

Please sign in to comment.