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

x/deno/cli/js/lib.deno.unstable.d.ts>Deno.PermissionDescriptor

A modern runtime for JavaScript and TypeScript.
Go to Latest
type alias Deno.PermissionDescriptor
import { type Deno } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.unstable.d.ts";
const { PermissionDescriptor } = Deno;

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

See: https://w3c.github.io/permissions/#permission-descriptor