From 525b3c8d746b8eb358ed6466cd4b68ebd6542392 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 8 May 2024 13:54:56 -0400 Subject: fix: upgrade TypeScript from 5.4.3 to 5.4.5 (#23740) https://github.com/denoland/TypeScript/pull/11 --- cli/tsc/dts/lib.dom.d.ts | 2 +- cli/tsc/dts/lib.webworker.d.ts | 2 +- cli/tsc/dts/typescript.d.ts | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'cli/tsc/dts') diff --git a/cli/tsc/dts/lib.dom.d.ts b/cli/tsc/dts/lib.dom.d.ts index da7364f2a..fab313d11 100644 --- a/cli/tsc/dts/lib.dom.d.ts +++ b/cli/tsc/dts/lib.dom.d.ts @@ -25582,7 +25582,7 @@ interface WebSocket extends EventTarget { */ readonly url: string; /** - * Closes the WebSocket connection, optionally using code as the WebSocket connection close code and reason as the WebSocket connection close reason. + * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close) */ diff --git a/cli/tsc/dts/lib.webworker.d.ts b/cli/tsc/dts/lib.webworker.d.ts index 0cc7df77d..8fd57617a 100644 --- a/cli/tsc/dts/lib.webworker.d.ts +++ b/cli/tsc/dts/lib.webworker.d.ts @@ -8292,7 +8292,7 @@ interface WebSocket extends EventTarget { */ readonly url: string; /** - * Closes the WebSocket connection, optionally using code as the WebSocket connection close code and reason as the WebSocket connection close reason. + * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close) */ diff --git a/cli/tsc/dts/typescript.d.ts b/cli/tsc/dts/typescript.d.ts index 206b52407..3cf955e29 100644 --- a/cli/tsc/dts/typescript.d.ts +++ b/cli/tsc/dts/typescript.d.ts @@ -1510,12 +1510,13 @@ declare namespace ts { } interface WatchChangeRequest extends Request { command: CommandTypes.WatchChange; - arguments: WatchChangeRequestArgs; + arguments: WatchChangeRequestArgs | readonly WatchChangeRequestArgs[]; } interface WatchChangeRequestArgs { id: number; - path: string; - eventType: "create" | "delete" | "update"; + created?: string[]; + deleted?: string[]; + updated?: string[]; } /** * Request to obtain the list of files that should be regenerated if target file is recompiled. @@ -2452,6 +2453,7 @@ declare namespace ts { readonly id: number; readonly path: string; readonly recursive: boolean; + readonly ignoreUpdate?: boolean; } type CloseFileWatcherEventName = "closeFileWatcher"; interface CloseFileWatcherEvent extends Event { -- cgit v1.2.3