Skip to content

Commit

Permalink
fix: update types
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolm-kee committed May 6, 2023
1 parent 2132c30 commit f7386f6
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions types/lib/Server.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,12 @@ declare class Server {
}[];
description: string;
simpleType: string;
/**
* prependEntry Method for webpack 4
* @param {any} originalEntry
* @param {any} newAdditionalEntries
* @returns {any}
*/
multiple: boolean;
};
"magic-html": {
Expand All @@ -989,13 +995,13 @@ declare class Server {
type: string;
multiple: boolean;
description: string;
/** @type {any} */
path: string;
}
| {
/** @type {any} */
type: string;
multiple: boolean;
description: string;
/** @type {any} */ description: string;
negatedDescription: string;
path: string;
}
Expand All @@ -1012,7 +1018,7 @@ declare class Server {
path: string;
}[];
description: string;
/** @type {MultiCompiler} */ simpleType: string;
simpleType: string;
multiple: boolean;
};
"open-app-name": {
Expand All @@ -1024,9 +1030,8 @@ declare class Server {
}[];
description: string;
simpleType: string;
multiple: boolean /** @type {MultiCompiler} */;
multiple: boolean;
};
/** @type {MultiCompiler} */
"open-app-name-reset": {
configs: {
type: string;
Expand Down Expand Up @@ -1098,10 +1103,6 @@ declare class Server {
path: string;
type: string;
}[];
/**
* @param {string | Static | undefined} [optionsForStatic]
* @returns {NormalizedStatic}
*/
description: string;
multiple: boolean;
simpleType: string;
Expand Down Expand Up @@ -1289,7 +1290,7 @@ declare class Server {
description: string;
path: string;
}[];
/** @type {ServerOptions} */ description: string;
description: string;
simpleType: string;
multiple: boolean;
};
Expand Down Expand Up @@ -1324,8 +1325,9 @@ declare class Server {
}[];
description: string;
simpleType: string;
multiple: boolean;
multiple: boolean /** @type {any} */;
};
/** @type {any} */
"static-serve-index": {
configs: {
type: string;
Expand Down Expand Up @@ -2676,7 +2678,7 @@ declare class Server {
};
ServerString: {
type: string;
minLength: number;
/** @type {string} */ minLength: number;
cli: {
exclude: boolean;
};
Expand All @@ -2689,7 +2691,6 @@ declare class Server {
$ref: string;
}[];
};
/** @type {MultiCompiler} */
options: {
$ref: string;
};
Expand Down Expand Up @@ -2873,6 +2874,7 @@ declare class Server {
)[];
description: string;
};
/** @type {NormalizedStatic} */
pfx: {
anyOf: (
| {
Expand Down Expand Up @@ -3124,7 +3126,6 @@ declare class Server {
};
WebSocketServerObject: {
type: string;
/** @type {ServerOptions} */
properties: {
type: {
anyOf: {
Expand All @@ -3134,7 +3135,6 @@ declare class Server {
options: {
type: string;
additionalProperties: boolean;
/** @type {ServerOptions} */
cli: {
exclude: boolean;
};
Expand Down Expand Up @@ -3195,9 +3195,8 @@ declare class Server {
$ref: string;
};
onBeforeSetupMiddleware: {
$ref: string /** @type {any} */;
$ref: string;
};
/** @type {any} */
onListening: {
$ref: string;
};
Expand Down

0 comments on commit f7386f6

Please sign in to comment.