summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorBhumij Gupta <bhumijgupta@gmail.com>2020-05-21 17:36:42 +0530
committerGitHub <noreply@github.com>2020-05-21 14:06:42 +0200
commit88e8c32652873be1f230c31cad26e93efbfca0d6 (patch)
tree5ceaa165f1da9d3c362e1d3a00215324fa317496 /cli/js/lib.deno.unstable.d.ts
parentaea5b12baedd5156850fd97bf2b5085da0927b00 (diff)
docd: Replace obsolete Deno.homeDir() with Deno.dir('home') (#5708)
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r--cli/js/lib.deno.unstable.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts
index 38260c8ff..9bb4cfb90 100644
--- a/cli/js/lib.deno.unstable.d.ts
+++ b/cli/js/lib.deno.unstable.d.ts
@@ -1207,7 +1207,7 @@ declare namespace Deno {
* ```ts
* const status = await Deno.permissions.request({ name: "env" });
* if (status.state === "granted") {
- * console.log(Deno.homeDir());
+ * console.log(Deno.dir("home");
* } else {
* console.log("'env' permission is denied.");
* }