Skip to main content
Deno.PermissionOptionsObject.import - Deno documentation
property Deno.PermissionOptionsObject.import
Specifies if the `import` permission should be requested or revoked. If set to `"inherit"` the current `import` permission will be inherited. If set to `true`, the global `import` permission will be requested. If set to `false`, the global `import` permission will be revoked. If set to `Array`, the `import` permissions will be requested with the specified domains.

Type

"inherit"
| boolean
| Array<string>