From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/undici-types/fetch.d.ts | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/node_modules/undici-types/fetch.d.ts b/node_modules/undici-types/fetch.d.ts
index 2cf5029..ec33e5b 100644
--- a/node_modules/undici-types/fetch.d.ts
+++ b/node_modules/undici-types/fetch.d.ts
@@ -2,9 +2,9 @@
// and https://github.com/node-fetch/node-fetch/blob/914ce6be5ec67a8bab63d68510aabf07cb818b6d/index.d.ts (MIT license)
/// <reference types="node" />
-import { Blob } from 'buffer'
-import { URL, URLSearchParams } from 'url'
-import { ReadableStream } from 'stream/web'
+import { Blob } from 'node:buffer'
+import { URL, URLSearchParams } from 'node:url'
+import { ReadableStream } from 'node:stream/web'
import { FormData } from './formdata'
import { HeaderRecord } from './header'
import Dispatcher from './dispatcher'
@@ -207,5 +207,5 @@
static error (): Response
static json (data: any, init?: ResponseInit): Response
- static redirect (url: string | URL, status: ResponseRedirectStatus): Response
+ static redirect (url: string | URL, status?: ResponseRedirectStatus): Response
}
--
Gitblit v1.9.3