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

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.PermissionDescriptor

A modern runtime for JavaScript and TypeScript.
Latest
type alias Deno.PermissionDescriptor
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { PermissionDescriptor } = Deno;

Permission descriptors which define a permission and can be queried, requested, or revoked.

View the specifics of the individual descriptors for more information about each permission kind.