summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-05-04 14:23:06 -0400
committerGitHub <noreply@github.com>2020-05-04 14:23:06 -0400
commit6c02b061ce157b9fc3d20f9bcace0bc6638290d3 (patch)
tree811310674a76ee8ce5761cec3ee711012e542fcf /cli/js/lib.deno.unstable.d.ts
parent191c59a5912121fb9062aff6a08b1cc110674044 (diff)
stabilize Deno.cwd and require --allow-read (#5068)
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r--cli/js/lib.deno.unstable.d.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts
index 88b9f002c..a523300cc 100644
--- a/cli/js/lib.deno.unstable.d.ts
+++ b/cli/js/lib.deno.unstable.d.ts
@@ -1024,21 +1024,6 @@ declare namespace Deno {
options: ConnectOptions | UnixConnectOptions
): Promise<Conn>;
- /**
- * **UNSTABLE**: Currently under evaluation to decide if explicit permission is
- * required to get the value of the current working directory.
- *
- * Return a string representing the current working directory.
- *
- * If the current directory can be reached via multiple paths (due to symbolic
- * links), `cwd()` may return any one of them.
- *
- * const currentWorkingDirectory = Deno.cwd();
- *
- * Throws `Deno.errors.NotFound` if directory not available.
- */
- export function cwd(): string;
-
export interface StartTlsOptions {
/** A literal IP address or host name that can be resolved to an IP address.
* If not specified, defaults to `127.0.0.1`. */