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

8 lines
250 B
TypeScript
Raw Normal View History

2023-10-16 09:29:44 +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>;