From e51f03fb9c091ca71a77d5a0cdeb99e4769cb3d5 Mon Sep 17 00:00:00 2001 From: guzhongren Date: Sat, 23 May 2020 13:10:25 +0800 Subject: [PATCH] pref: Add comma and semicolon for example Add comma and semicolon --- cli/js/lib.deno.ns.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index d2a18c4141f9bf..2415214a505d20 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -62,7 +62,7 @@ declare namespace Deno { * * Deno.test({ * name: "example ignored test", - * ignore: Deno.build.os === "windows" + * ignore: Deno.build.os === "windows", * fn(): void { * // This test is ignored only on Windows machines * }, @@ -73,7 +73,7 @@ declare namespace Deno { * async fn() { * const decoder = new TextDecoder("utf-8"); * const data = await Deno.readFile("hello_world.txt"); - * assertEquals(decoder.decode(data), "Hello world") + * assertEquals(decoder.decode(data), "Hello world"); * } * }); * ``` @@ -94,7 +94,7 @@ declare namespace Deno { * Deno.test("My async test description", async ():Promise => { * const decoder = new TextDecoder("utf-8"); * const data = await Deno.readFile("hello_world.txt"); - * assertEquals(decoder.decode(data), "Hello world") + * assertEquals(decoder.decode(data), "Hello world"); * }); * ``` * */ @@ -1828,7 +1828,7 @@ declare namespace Deno { * ```ts * const obj = {}; * obj.propA = 10; - * obj.propB = "hello" + * obj.propB = "hello"; * const objAsString = Deno.inspect(obj); // { propA: 10, propB: "hello" } * console.log(obj); // prints same value as objAsString, e.g. { propA: 10, propB: "hello" } * ```