diff options
author | Bhumij Gupta <bhumijgupta@gmail.com> | 2020-05-21 17:36:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 14:06:42 +0200 |
commit | 88e8c32652873be1f230c31cad26e93efbfca0d6 (patch) | |
tree | 5ceaa165f1da9d3c362e1d3a00215324fa317496 /cli/js | |
parent | aea5b12baedd5156850fd97bf2b5085da0927b00 (diff) |
docd: Replace obsolete Deno.homeDir() with Deno.dir('home') (#5708)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/lib.deno.unstable.d.ts | 2 |
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."); * } |