File tree 4 files changed +21
-18
lines changed
4 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ class Server {
1160
1160
1161
1161
if (
1162
1162
! ( /** @type {ServerOptions } */ ( options . server . options ) . key ) ||
1163
- /** @type {ServerOptions } */ ( ! options . server . options ) . cert
1163
+ ! ( /** @type {ServerOptions } */ ( options . server . options ) . cert )
1164
1164
) {
1165
1165
const certificateDir = Server . findCacheDir ( ) ;
1166
1166
const certificatePath = path . join ( certificateDir , "server.pem" ) ;
Original file line number Diff line number Diff line change 87
87
"@commitlint/config-conventional" : " ^16.2.1" ,
88
88
"@types/compression" : " ^1.7.2" ,
89
89
"@types/default-gateway" : " ^3.0.1" ,
90
+ "@types/node" : " ^18.11.9" ,
90
91
"@types/node-forge" : " ^1.0.4" ,
91
92
"@types/rimraf" : " ^3.0.2" ,
92
93
"@types/sockjs-client" : " ^1.5.1" ,
125
126
"style-loader" : " ^2.0.0" ,
126
127
"supertest" : " ^6.1.3" ,
127
128
"tcp-port-used" : " ^1.0.2" ,
128
- "typescript" : " ^4.7.2 " ,
129
+ "typescript" : " ^4.9.3 " ,
129
130
"url-loader" : " ^4.1.1" ,
130
131
"wait-for-expect" : " ^3.0.2" ,
131
132
"webpack" : " ^5.75.0" ,
Original file line number Diff line number Diff line change @@ -1248,7 +1248,7 @@ declare class Server {
1248
1248
type : string ;
1249
1249
multiple : boolean ;
1250
1250
description : string ;
1251
- path : string ;
1251
+ path : string /** @type { ServerOptions } */ ;
1252
1252
} [ ] ;
1253
1253
description : string ;
1254
1254
simpleType : string ;
@@ -1344,7 +1344,6 @@ declare class Server {
1344
1344
type : string ;
1345
1345
}
1346
1346
) [ ] ;
1347
- /** @type {ServerOptions & { cacert?: ServerOptions["ca"] } } */
1348
1347
description : string ;
1349
1348
simpleType : string ;
1350
1349
multiple : boolean ;
@@ -3544,7 +3543,9 @@ type Static = {
3544
3543
publicPath ?: string | string [ ] | undefined ;
3545
3544
serveIndex ?: boolean | import ( "serve-index" ) . Options | undefined ;
3546
3545
staticOptions ?:
3547
- | import ( "serve-static" ) . ServeStaticOptions < import ( "http" ) . ServerResponse >
3546
+ | import ( "serve-static" ) . ServeStaticOptions <
3547
+ import ( "http" ) . ServerResponse < import ( "http" ) . IncomingMessage >
3548
+ >
3548
3549
| undefined ;
3549
3550
watch ?:
3550
3551
| boolean
You can’t perform that action at this time.
0 commit comments