mirror of
https://github.com/venera-app/venera-configs.git
synced 2025-09-27 08:27:24 +00:00
Mark [fetch] as version 1.2.0
This commit is contained in:
@@ -491,6 +491,7 @@ let Network = {
|
|||||||
* @param url {string}
|
* @param url {string}
|
||||||
* @param options {{method: string, headers: Object, body: any}}
|
* @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>)}>}
|
* @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) {
|
async function fetch(url, options) {
|
||||||
let method = 'GET';
|
let method = 'GET';
|
||||||
|
Reference in New Issue
Block a user