Skip to main content
Deno.PermissionState - Deno documentation
type alias Deno.PermissionState

The current status of the permission:

  • "granted" - the permission has been granted.
  • "denied" - the permission has been explicitly denied.
  • "prompt" - the permission has not explicitly granted nor denied.

Definition

"granted"
| "denied"
| "prompt"