From b014b48e65b0c51212f5df4973346eadab9db26a Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Mon, 21 Aug 2023 13:41:42 +0800 Subject: [PATCH] fix(fetch): export types from undici --- packages/fetch/src/lib/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/fetch/src/lib/types.ts b/packages/fetch/src/lib/types.ts index 3cf00537..1e4ac91a 100644 --- a/packages/fetch/src/lib/types.ts +++ b/packages/fetch/src/lib/types.ts @@ -13,8 +13,10 @@ import { export { FormData, Headers, - HeadersInit, Response, +} from 'undici' +export type { + HeadersInit, RequestInfo, RequestInit, } from 'undici'