Skip to main content
Deno.PermissionOptionsObject.write - Deno documentation
property Deno.PermissionOptionsObject.write

Specifies if the write permission should be requested or revoked. If set to "inherit", the current write permission will be inherited. If set to true, the global write permission will be requested. If set to false, the global write permission will be revoked. If set to Array<string | URL>, the write permission will be requested with the specified file paths.

Type

"inherit"
| boolean
| Array<string | URL>