From 84e198f0d0285077c228a2ea41e927103ec4119f Mon Sep 17 00:00:00 2001 From: youngwendy <166624921+youngwendy@users.noreply.github.com> Date: Fri, 12 Apr 2024 22:33:43 +0800 Subject: chore: remove repetitive words (#23341) Signed-off-by: youngwendy --- ext/node/polyfills/internal/util/inspect.mjs | 2 +- ext/websocket/lib.deno_websocket.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/node/polyfills/internal/util/inspect.mjs b/ext/node/polyfills/internal/util/inspect.mjs index 2f9167dfb..20974db59 100644 --- a/ext/node/polyfills/internal/util/inspect.mjs +++ b/ext/node/polyfills/internal/util/inspect.mjs @@ -346,7 +346,7 @@ function hasBuiltInToString(value) { return true; } - // The object has a own `toString` property. Thus it's not not a built-in one. + // The object has a own `toString` property. Thus it's not a built-in one. if (Object.prototype.hasOwnProperty.call(value, "toString")) { return false; } diff --git a/ext/websocket/lib.deno_websocket.d.ts b/ext/websocket/lib.deno_websocket.d.ts index f3b496f3e..b7227c255 100644 --- a/ext/websocket/lib.deno_websocket.d.ts +++ b/ext/websocket/lib.deno_websocket.d.ts @@ -85,7 +85,7 @@ declare interface WebSocket extends EventTarget { */ readonly url: string; /** - * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. + * Closes the WebSocket connection, optionally using code as the WebSocket connection close code and reason as the WebSocket connection close reason. */ close(code?: number, reason?: string): void; /** -- cgit v1.2.3