method Deno.Permissions.prototype.revoke
Permissions.prototype.revoke(desc: PermissionDescriptor): Promise<PermissionStatus>
Revokes a permission, and resolves to the state of the permission.
```ts
import { assert } from "jsr:@std/assert";
const status = await Deno.permissions.revoke({ name: "run" });
assert(status.state !== "granted")
```
desc: PermissionDescriptor
Promise<PermissionStatus>