mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +00:00
chore: upgrade dprint plugins (#10397)
This commit is contained in:
parent
8c6f977192
commit
2bd087ab1b
22 changed files with 349 additions and 360 deletions
|
@ -58,11 +58,11 @@
|
|||
};
|
||||
|
||||
/**
|
||||
* @param {string} method
|
||||
* @param {string} url
|
||||
* @param {[string, string][]} headerList
|
||||
* @param {InnerBody} body
|
||||
* @returns
|
||||
* @param {string} method
|
||||
* @param {string} url
|
||||
* @param {[string, string][]} headerList
|
||||
* @param {InnerBody} body
|
||||
* @returns
|
||||
*/
|
||||
function newInnerRequest(method, url, headerList = [], body = null) {
|
||||
return {
|
||||
|
@ -76,7 +76,7 @@
|
|||
|
||||
/**
|
||||
* https://fetch.spec.whatwg.org/#concept-request-clone
|
||||
* @param {InnerRequest} request
|
||||
* @param {InnerRequest} request
|
||||
* @returns {InnerRequest}
|
||||
*/
|
||||
function cloneInnerRequest(request) {
|
||||
|
@ -185,8 +185,8 @@
|
|||
|
||||
/**
|
||||
* https://fetch.spec.whatwg.org/#dom-request
|
||||
* @param {RequestInfo} input
|
||||
* @param {RequestInit} init
|
||||
* @param {RequestInfo} input
|
||||
* @param {RequestInit} init
|
||||
*/
|
||||
constructor(input, init = {}) {
|
||||
const prefix = "Failed to construct 'Request'";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue