summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorvwkd <33468089+vwkd@users.noreply.github.com>2020-10-14 16:28:21 +0200
committerGitHub <noreply@github.com>2020-10-14 10:28:21 -0400
commitf9489e9acb0e3121bbd71ef0cf1826320d0c0995 (patch)
treef731c298d24dfd93e9bcdf72efec3e82cff055ee /cli/dts/lib.deno.ns.d.ts
parent12e700bddfad8c23f6b55baca4ca4afb8337af26 (diff)
fix typos (#7964)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index 48f5fd7dd..0b9876865 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -1225,7 +1225,7 @@ declare namespace Deno {
* Requires `allow-read` and `allow-write` permission. */
export function rename(oldpath: string, newpath: string): Promise<void>;
- /** Synchronously reads and returns the entire contents of a file as utf8 encoded string
+ /** Synchronously reads and returns the entire contents of a file as utf8
* encoded string. Reading a directory returns an empty string.
*
* ```ts
@@ -1236,8 +1236,8 @@ declare namespace Deno {
* Requires `allow-read` permission. */
export function readTextFileSync(path: string | URL): string;
- /** Asynchronously reads and returns the entire contents of a file as a utf8
- * encoded string. Reading a directory returns an empty data array.
+ /** Asynchronously reads and returns the entire contents of a file as utf8
+ * encoded string. Reading a directory returns an empty string.
*
* ```ts
* const data = await Deno.readTextFile("hello.txt");