mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +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
|
@ -27,7 +27,7 @@
|
|||
];
|
||||
|
||||
/**
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @returns {Deno.PermissionState}
|
||||
*/
|
||||
function opQuery(desc) {
|
||||
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @returns {Deno.PermissionState}
|
||||
*/
|
||||
function opRevoke(desc) {
|
||||
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @returns {Deno.PermissionState}
|
||||
*/
|
||||
function opRequest(desc) {
|
||||
|
@ -63,8 +63,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {{ state: Deno.PermissionState }} state
|
||||
* @param {unknown} key
|
||||
* @param {{ state: Deno.PermissionState }} state
|
||||
* @param {unknown} key
|
||||
*/
|
||||
constructor(state = null, key = null) {
|
||||
if (key != illegalConstructorKey) {
|
||||
|
@ -75,7 +75,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {Event} event
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
dispatchEvent(event) {
|
||||
|
@ -98,9 +98,9 @@
|
|||
const statusCache = new Map();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @param {Deno.PermissionState} state
|
||||
*
|
||||
* @param {Deno.PermissionDescriptor} desc
|
||||
* @param {Deno.PermissionState} state
|
||||
* @returns {PermissionStatus}
|
||||
*/
|
||||
function cache(desc, state) {
|
||||
|
@ -126,7 +126,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {unknown} desc
|
||||
* @param {unknown} desc
|
||||
* @returns {desc is Deno.PermissionDescriptor}
|
||||
*/
|
||||
function isValidDescriptor(desc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue