chore: upgrade dprint plugins (#10397)

This commit is contained in:
Satya Rohith 2021-04-28 19:38:51 +05:30 committed by GitHub
parent 8c6f977192
commit 2bd087ab1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 349 additions and 360 deletions

View file

@ -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'";