From 844eaf81c0e9aa7bb29722ad44cae6e8a1a2272b Mon Sep 17 00:00:00 2001 From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:46:33 +0300 Subject: [PATCH] chore(deps): types (#5370) --- package-lock.json | 8 ++++---- package.json | 2 +- types/lib/Server.d.ts | 15 +++++---------- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index f32ecc5101..3fded43281 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,7 +94,7 @@ "style-loader": "^4.0.0", "supertest": "^7.0.0", "tcp-port-used": "^1.0.2", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "wait-for-expect": "^3.0.2", "webpack": "^5.94.0", "webpack-cli": "^5.0.1", @@ -18529,9 +18529,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 303fe81cd2..a7605c28cc 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "style-loader": "^4.0.0", "supertest": "^7.0.0", "tcp-port-used": "^1.0.2", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "wait-for-expect": "^3.0.2", "webpack": "^5.94.0", "webpack-cli": "^5.0.1", diff --git a/types/lib/Server.d.ts b/types/lib/Server.d.ts index 27bc0f33a2..57ee326f17 100644 --- a/types/lib/Server.d.ts +++ b/types/lib/Server.d.ts @@ -1134,7 +1134,7 @@ declare class Server< */ static findIp( gatewayOrFamily: string, - isInternal?: boolean | undefined, + isInternal?: boolean, ): string | undefined; /** * @param {"v4" | "v6"} family @@ -1377,16 +1377,11 @@ declare class Server< * @param {string | string[]} watchPath * @param {WatchOptions} [watchOptions] */ - watchFiles( - watchPath: string | string[], - watchOptions?: import("chokidar").WatchOptions | undefined, - ): void; + watchFiles(watchPath: string | string[], watchOptions?: WatchOptions): void; /** * @param {import("webpack-dev-middleware").Callback} [callback] */ - invalidate( - callback?: import("webpack-dev-middleware").Callback | undefined, - ): void; + invalidate(callback?: import("webpack-dev-middleware").Callback): void; /** * @returns {Promise} */ @@ -1394,7 +1389,7 @@ declare class Server< /** * @param {(err?: Error) => void} [callback] */ - startCallback(callback?: ((err?: Error) => void) | undefined): void; + startCallback(callback?: (err?: Error) => void): void; /** * @returns {Promise} */ @@ -1402,7 +1397,7 @@ declare class Server< /** * @param {(err?: Error) => void} [callback] */ - stopCallback(callback?: ((err?: Error) => void) | undefined): void; + stopCallback(callback?: (err?: Error) => void): void; } declare namespace Server { export {