xunfeiAI/node_modules/miniprogram-fetch/dist/fetch.d.ts

8 lines
250 B
TypeScript
Raw Permalink Normal View History

2023-09-12 20:19:08 +08:00
/**
* fetch
* @see https://developer.mozilla.org/zh-CN/docs/Web/API/Fetch_API
* @param url URL或者Request对象
* @param init
*/
export declare function fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;