mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
docs: Remove a deprecated function from docstring for Deno.permissions (#8729)
This commit is contained in:
parent
31935c6b8d
commit
c05615d670
1 changed files with 1 additions and 1 deletions
2
cli/dts/lib.deno.unstable.d.ts
vendored
2
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -1143,7 +1143,7 @@ declare namespace Deno {
|
|||
* ```ts
|
||||
* const status = await Deno.permissions.request({ name: "env" });
|
||||
* if (status.state === "granted") {
|
||||
* console.log(Deno.dir("home"));
|
||||
* console.log("'env' permission is granted.");
|
||||
* } else {
|
||||
* console.log("'env' permission is denied.");
|
||||
* }
|
||||
|
|
Loading…
Reference in a new issue