Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.PermissionOptions

A JavaScript extension package for building strong and modern applications.
Latest
type alias Deno.PermissionOptions
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { PermissionOptions } = Deno;

Options which define the permissions within a test or worker context.

"inherit" ensures that all permissions of the parent process will be applied to the test context. "none" ensures the test context has no permissions. A PermissionOptionsObject provides a more specific set of permissions to the test context.

definition: "inherit" | "none" | PermissionOptionsObject