From fc45a19801fe32eaf3a82ab8333f433fcfd7ca4e Mon Sep 17 00:00:00 2001 From: linbingquan <695601626@qq.com> Date: Sun, 17 Jan 2021 07:31:29 +0800 Subject: [PATCH] docs(cli): correct example (#9136) --- cli/dts/lib.deno.shared_globals.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index e72e4f089a8ce9..0c18920a68ccb3 100644 --- a/cli/dts/lib.deno.shared_globals.d.ts +++ b/cli/dts/lib.deno.shared_globals.d.ts @@ -315,7 +315,7 @@ declare function setInterval( /** Cancels a timed, repeating action which was previously started by a call * to `setInterval()` * - * const id = setInterval(()= > {console.log('hello');}, 500); + * const id = setInterval(() => {console.log('hello');}, 500); * ... * clearInterval(id); */ @@ -323,7 +323,7 @@ declare function clearInterval(id?: number): void; /** Cancels a scheduled action initiated by `setTimeout()` * - * const id = setTimeout(()= > {console.log('hello');}, 500); + * const id = setTimeout(() => {console.log('hello');}, 500); * ... * clearTimeout(id); */