Mark [fetch] as version 1.2.0

This commit is contained in:
2025-01-18 12:29:25 +08:00
parent d7aa3a3f02
commit 5f8339af1b

View File

@@ -491,6 +491,7 @@ let Network = {
* @param url {string}
* @param options {{method: string, headers: Object, body: any}}
* @returns {Promise<{ok: boolean, status: number, statusText: string, headers: {}, arrayBuffer: (function(): Promise<ArrayBuffer>), text: (function(): Promise<string>), json: (function(): Promise<any>)}>}
* @since 1.2.0
*/
async function fetch(url, options) {
let method = 'GET';