Skip to content

Commit

Permalink
chore(deps): types (#5370)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Dec 5, 2024
1 parent 12913bb commit 844eaf8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
15 changes: 5 additions & 10 deletions types/lib/Server.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ declare class Server<
*/
static findIp(
gatewayOrFamily: string,
isInternal?: boolean | undefined,
isInternal?: boolean,
): string | undefined;
/**
* @param {"v4" | "v6"} family
Expand Down Expand Up @@ -1377,32 +1377,27 @@ 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<void>}
*/
start(): Promise<void>;
/**
* @param {(err?: Error) => void} [callback]
*/
startCallback(callback?: ((err?: Error) => void) | undefined): void;
startCallback(callback?: (err?: Error) => void): void;
/**
* @returns {Promise<void>}
*/
stop(): Promise<void>;
/**
* @param {(err?: Error) => void} [callback]
*/
stopCallback(callback?: ((err?: Error) => void) | undefined): void;
stopCallback(callback?: (err?: Error) => void): void;
}
declare namespace Server {
export {
Expand Down

0 comments on commit 844eaf8

Please sign in to comment.