Skip to content

Commit f7386f6

Browse files
committed
fix: update types
1 parent 2132c30 commit f7386f6

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

types/lib/Server.d.ts

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,12 @@ declare class Server {
969969
}[];
970970
description: string;
971971
simpleType: string;
972+
/**
973+
* prependEntry Method for webpack 4
974+
* @param {any} originalEntry
975+
* @param {any} newAdditionalEntries
976+
* @returns {any}
977+
*/
972978
multiple: boolean;
973979
};
974980
"magic-html": {
@@ -989,13 +995,13 @@ declare class Server {
989995
type: string;
990996
multiple: boolean;
991997
description: string;
992-
/** @type {any} */
993998
path: string;
994999
}
9951000
| {
1001+
/** @type {any} */
9961002
type: string;
9971003
multiple: boolean;
998-
description: string;
1004+
/** @type {any} */ description: string;
9991005
negatedDescription: string;
10001006
path: string;
10011007
}
@@ -1012,7 +1018,7 @@ declare class Server {
10121018
path: string;
10131019
}[];
10141020
description: string;
1015-
/** @type {MultiCompiler} */ simpleType: string;
1021+
simpleType: string;
10161022
multiple: boolean;
10171023
};
10181024
"open-app-name": {
@@ -1024,9 +1030,8 @@ declare class Server {
10241030
}[];
10251031
description: string;
10261032
simpleType: string;
1027-
multiple: boolean /** @type {MultiCompiler} */;
1033+
multiple: boolean;
10281034
};
1029-
/** @type {MultiCompiler} */
10301035
"open-app-name-reset": {
10311036
configs: {
10321037
type: string;
@@ -1098,10 +1103,6 @@ declare class Server {
10981103
path: string;
10991104
type: string;
11001105
}[];
1101-
/**
1102-
* @param {string | Static | undefined} [optionsForStatic]
1103-
* @returns {NormalizedStatic}
1104-
*/
11051106
description: string;
11061107
multiple: boolean;
11071108
simpleType: string;
@@ -1289,7 +1290,7 @@ declare class Server {
12891290
description: string;
12901291
path: string;
12911292
}[];
1292-
/** @type {ServerOptions} */ description: string;
1293+
description: string;
12931294
simpleType: string;
12941295
multiple: boolean;
12951296
};
@@ -1324,8 +1325,9 @@ declare class Server {
13241325
}[];
13251326
description: string;
13261327
simpleType: string;
1327-
multiple: boolean;
1328+
multiple: boolean /** @type {any} */;
13281329
};
1330+
/** @type {any} */
13291331
"static-serve-index": {
13301332
configs: {
13311333
type: string;
@@ -2676,7 +2678,7 @@ declare class Server {
26762678
};
26772679
ServerString: {
26782680
type: string;
2679-
minLength: number;
2681+
/** @type {string} */ minLength: number;
26802682
cli: {
26812683
exclude: boolean;
26822684
};
@@ -2689,7 +2691,6 @@ declare class Server {
26892691
$ref: string;
26902692
}[];
26912693
};
2692-
/** @type {MultiCompiler} */
26932694
options: {
26942695
$ref: string;
26952696
};
@@ -2873,6 +2874,7 @@ declare class Server {
28732874
)[];
28742875
description: string;
28752876
};
2877+
/** @type {NormalizedStatic} */
28762878
pfx: {
28772879
anyOf: (
28782880
| {
@@ -3124,7 +3126,6 @@ declare class Server {
31243126
};
31253127
WebSocketServerObject: {
31263128
type: string;
3127-
/** @type {ServerOptions} */
31283129
properties: {
31293130
type: {
31303131
anyOf: {
@@ -3134,7 +3135,6 @@ declare class Server {
31343135
options: {
31353136
type: string;
31363137
additionalProperties: boolean;
3137-
/** @type {ServerOptions} */
31383138
cli: {
31393139
exclude: boolean;
31403140
};
@@ -3195,9 +3195,8 @@ declare class Server {
31953195
$ref: string;
31963196
};
31973197
onBeforeSetupMiddleware: {
3198-
$ref: string /** @type {any} */;
3198+
$ref: string;
31993199
};
3200-
/** @type {any} */
32013200
onListening: {
32023201
$ref: string;
32033202
};

0 commit comments

Comments
 (0)