文件操作 - node-fetch.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/unenv/runtime/npm/node-fetch.d.ts
编辑文件内容
export declare const fetch: { (input: string | Request | URL, init?: RequestInit | undefined): Promise<Response>; Promise: PromiseConstructor; isRedirect: (code: number) => boolean; }; export declare const Headers: { new (init?: HeadersInit): Headers; prototype: Headers; }; export declare const Request: { new (input: RequestInfo | URL, init?: RequestInit): Request; prototype: Request; }; export declare const Response: { new (body?: BodyInit | null, init?: ResponseInit): Response; prototype: Response; error(): Response; json(data: any, init?: ResponseInit): Response; redirect(url: string | URL, status?: number): Response; }; export declare const AbortController: { new (): AbortController; prototype: AbortController; }; export declare const FetchError: ErrorConstructor; export declare const AbortError: ErrorConstructor; export declare const isRedirect: (code: number) => boolean; export default fetch;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件