mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
docs: Add missing closing parenthesis (#8477)
This commit is contained in:
parent
a08d2eee2b
commit
f42adf2277
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
|
@ -1131,7 +1131,7 @@ declare namespace Deno {
|
||||||
* ```ts
|
* ```ts
|
||||||
* const status = await Deno.permissions.request({ name: "env" });
|
* const status = await Deno.permissions.request({ name: "env" });
|
||||||
* if (status.state === "granted") {
|
* if (status.state === "granted") {
|
||||||
* console.log(Deno.dir("home");
|
* console.log(Deno.dir("home"));
|
||||||
* } else {
|
* } else {
|
||||||
* console.log("'env' permission is denied.");
|
* console.log("'env' permission is denied.");
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in a new issue