From f9489e9acb0e3121bbd71ef0cf1826320d0c0995 Mon Sep 17 00:00:00 2001 From: vwkd <33468089+vwkd@users.noreply.github.com> Date: Wed, 14 Oct 2020 16:28:21 +0200 Subject: [PATCH] fix typos (#7964) --- cli/dts/lib.deno.ns.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 48f5fd7dd9..0b9876865e 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; - /** 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");