Skip to content

Commit

Permalink
Export Fetch API
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble committed Nov 22, 2022
1 parent 8662431 commit 227bfad
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packages/tre/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,25 @@ import exitHook from "exit-hook";
import getPort from "get-port";
import stoppable from "stoppable";
import {
BodyInit,
File,
FormData,
Headers,
HeadersInit,
ReferrerPolicy,
Request,
RequestCache,
RequestCredentials,
RequestDestination,
RequestDuplex,
RequestInfo,
RequestInit,
RequestMode,
RequestRedirect,
Response,
ResponseInit,
ResponseRedirectStatus,
ResponseType,
fetch,
} from "undici";
import { WebSocketServer } from "ws";
Expand Down Expand Up @@ -614,3 +628,25 @@ export * from "./plugins";
export * from "./runtime";
export * from "./shared";
export * from "./storage";
export {
BodyInit,
File,
FormData,
Headers,
HeadersInit,
ReferrerPolicy,
Request,
RequestCache,
RequestCredentials,
RequestDestination,
RequestDuplex,
RequestInfo,
RequestInit,
RequestMode,
RequestRedirect,
Response,
ResponseInit,
ResponseRedirectStatus,
ResponseType,
fetch,
};

0 comments on commit 227bfad

Please sign in to comment.