diff options
author | vwkd <33468089+vwkd@users.noreply.github.com> | 2020-10-14 16:28:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-14 10:28:21 -0400 |
commit | f9489e9acb0e3121bbd71ef0cf1826320d0c0995 (patch) | |
tree | f731c298d24dfd93e9bcdf72efec3e82cff055ee /cli/dts/lib.deno.ns.d.ts | |
parent | 12e700bddfad8c23f6b55baca4ca4afb8337af26 (diff) |
fix typos (#7964)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 6 |
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"); |