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

x/xdg/vendor/types/deno.d.ts>Deno.PermissionName

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
type alias Deno.PermissionName
import { type Deno } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";
const { PermissionName } = Deno;

The name of a "powerful feature" which needs permission.

definition:
| "run"
| "read"
| "write"
| "net"
| "env"
| "plugin"
| "hrtime"