@@ -726,9 +726,6 @@ declare class Server {
726
726
"https-ca-reset": {
727
727
configs: {
728
728
description: string;
729
- /**
730
- * @type {string[]}
731
- */
732
729
multiple: boolean;
733
730
path: string;
734
731
type: string;
@@ -764,7 +761,7 @@ declare class Server {
764
761
type: string;
765
762
multiple: boolean;
766
763
description: string;
767
- path: string;
764
+ path: string /** @type {string} */ ;
768
765
}[];
769
766
description: string;
770
767
simpleType: string;
@@ -799,7 +796,7 @@ declare class Server {
799
796
path: string;
800
797
type: string;
801
798
}[];
802
- description: string;
799
+ /** @type {number | string} */ description: string;
803
800
multiple: boolean;
804
801
simpleType: string;
805
802
};
@@ -821,7 +818,7 @@ declare class Server {
821
818
path: string;
822
819
type: string;
823
820
}[];
824
- description: string;
821
+ /** @type {string} */ description: string;
825
822
multiple: boolean;
826
823
simpleType: string;
827
824
};
@@ -865,12 +862,6 @@ declare class Server {
865
862
description: string;
866
863
negatedDescription: string;
867
864
path: string;
868
- /**
869
- * prependEntry Method for webpack 4
870
- * @param {any} originalEntry
871
- * @param {any} newAdditionalEntries
872
- * @returns {any}
873
- */
874
865
}[];
875
866
description: string;
876
867
simpleType: string;
@@ -895,6 +886,12 @@ declare class Server {
895
886
description: string;
896
887
simpleType: string;
897
888
multiple: boolean;
889
+ /**
890
+ * prependEntry Method for webpack 4
891
+ * @param {any} originalEntry
892
+ * @param {any} newAdditionalEntries
893
+ * @returns {any}
894
+ */
898
895
};
899
896
"live-reload": {
900
897
configs: {
@@ -925,7 +922,7 @@ declare class Server {
925
922
| {
926
923
type: string;
927
924
multiple: boolean;
928
- /** @type {MultiCompiler} */ description: string;
925
+ description: string;
929
926
path: string;
930
927
}
931
928
| {
@@ -961,17 +958,13 @@ declare class Server {
961
958
description: string;
962
959
simpleType: string;
963
960
multiple: boolean;
964
- /**
965
- * @param {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} watchOptions
966
- * @returns {WatchOptions}
967
- */
968
961
};
969
962
"open-app-name-reset": {
970
963
configs: {
971
964
type: string;
972
965
multiple: boolean;
973
966
description: string;
974
- path: string;
967
+ path: string /** @type {Compiler} */ ;
975
968
}[];
976
969
description: string;
977
970
simpleType: string;
@@ -1195,7 +1188,7 @@ declare class Server {
1195
1188
}[];
1196
1189
description: string;
1197
1190
multiple: boolean;
1198
- simpleType: string /** @type {ServerOptions} */ ;
1191
+ simpleType: string;
1199
1192
};
1200
1193
static: {
1201
1194
configs: (
@@ -1208,26 +1201,22 @@ declare class Server {
1208
1201
| {
1209
1202
type: string;
1210
1203
multiple: boolean;
1211
- /** @type {ServerOptions} */ description: string;
1204
+ description: string;
1212
1205
negatedDescription: string;
1213
1206
path: string;
1214
1207
}
1215
1208
)[];
1216
- description: string;
1217
- simpleType: string;
1209
+ /** @type {ServerOptions} */ description: string;
1210
+ /** @type {Array<keyof ServerOptions>} */ simpleType: string;
1218
1211
multiple: boolean;
1219
1212
};
1220
1213
"static-directory": {
1221
1214
configs: {
1222
1215
type: string;
1223
- /** @type {any} */ multiple: boolean;
1216
+ multiple: boolean;
1224
1217
description: string;
1225
1218
path: string;
1226
1219
}[];
1227
- /**
1228
- * @param {string | Buffer | undefined} item
1229
- * @returns {string | Buffer | undefined}
1230
- */
1231
1220
description: string;
1232
1221
simpleType: string;
1233
1222
multiple: boolean;
@@ -1240,7 +1229,7 @@ declare class Server {
1240
1229
path: string;
1241
1230
}[];
1242
1231
description: string;
1243
- /** @type {any} */ simpleType: string;
1232
+ simpleType: string;
1244
1233
multiple: boolean;
1245
1234
};
1246
1235
"static-public-path-reset": {
@@ -1352,12 +1341,13 @@ declare class Server {
1352
1341
description: string;
1353
1342
multiple: boolean;
1354
1343
path: string;
1355
- type: string /** @type {ServerOptions & { cacert?: ServerOptions["ca"] }} */ ;
1344
+ type: string;
1356
1345
}
1357
1346
)[];
1347
+ /** @type {ServerOptions & { cacert?: ServerOptions["ca"] }} */
1358
1348
description: string;
1359
1349
simpleType: string;
1360
- multiple: boolean /** @type {ServerOptions} */ ;
1350
+ multiple: boolean;
1361
1351
};
1362
1352
};
1363
1353
readonly processArguments: (
@@ -2221,7 +2211,7 @@ declare class Server {
2221
2211
}
2222
2212
)[];
2223
2213
description: string;
2224
- link: string /** @type {WebSocketURL} */ ;
2214
+ link: string;
2225
2215
};
2226
2216
HistoryApiFallback: {
2227
2217
anyOf: (
@@ -2237,7 +2227,6 @@ declare class Server {
2237
2227
type: string;
2238
2228
description: string;
2239
2229
link: string;
2240
- /** @type {string} */
2241
2230
cli?: undefined /** @typedef {import("express").Request} Request */;
2242
2231
}
2243
2232
)[];
@@ -2351,6 +2340,7 @@ declare class Server {
2351
2340
negatedDescription: string;
2352
2341
};
2353
2342
};
2343
+ /** @type {ClientConfiguration} */
2354
2344
OpenObject: {
2355
2345
type: string;
2356
2346
additionalProperties: boolean;
@@ -2481,6 +2471,7 @@ declare class Server {
2481
2471
anyOf: {
2482
2472
$ref: string;
2483
2473
}[];
2474
+ /** @type {any} */
2484
2475
link: string;
2485
2476
description: string;
2486
2477
};
@@ -2502,14 +2493,15 @@ declare class Server {
2502
2493
};
2503
2494
ServerObject: {
2504
2495
type: string;
2496
+ /** @type {string} */
2505
2497
properties: {
2506
2498
type: {
2507
2499
anyOf: {
2508
2500
$ref: string;
2509
2501
}[];
2510
2502
};
2511
2503
options: {
2512
- $ref: string;
2504
+ $ref: string /** @type {MultiCompiler} */ ;
2513
2505
};
2514
2506
};
2515
2507
additionalProperties: boolean;
@@ -2522,6 +2514,7 @@ declare class Server {
2522
2514
type: string;
2523
2515
description: string;
2524
2516
};
2517
+ /** @type {MultiCompiler} */
2525
2518
requestCert: {
2526
2519
type: string;
2527
2520
description: string;
@@ -2922,10 +2915,10 @@ declare class Server {
2922
2915
anyOf: (
2923
2916
| {
2924
2917
enum: boolean[];
2925
- /** @type {ServerOptions} */ cli: {
2918
+ cli: {
2926
2919
negatedDescription: string;
2927
2920
};
2928
- /** @type {ServerOptions} */ $ref?: undefined;
2921
+ $ref?: undefined;
2929
2922
}
2930
2923
| {
2931
2924
$ref: string;
@@ -2950,6 +2943,7 @@ declare class Server {
2950
2943
};
2951
2944
options: {
2952
2945
type: string;
2946
+ /** @type {Array<keyof ServerOptions>} */
2953
2947
additionalProperties: boolean;
2954
2948
cli: {
2955
2949
exclude: boolean;
@@ -2986,6 +2980,7 @@ declare class Server {
2986
2980
historyApiFallback: {
2987
2981
$ref: string;
2988
2982
};
2983
+ /** @type {ServerOptions} */
2989
2984
host: {
2990
2985
$ref: string;
2991
2986
};
@@ -3080,6 +3075,12 @@ declare class Server {
3080
3075
* @returns {string}
3081
3076
*/
3082
3077
static findCacheDir(): string;
3078
+ /**
3079
+ * @private
3080
+ * @param {Compiler} compiler
3081
+ * @returns bool
3082
+ */
3083
+ private static isWebTarget;
3083
3084
/**
3084
3085
* @param {Configuration | Compiler | MultiCompiler} options
3085
3086
* @param {Compiler | MultiCompiler | Configuration} compiler
0 commit comments