File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2362,6 +2362,7 @@ class Server {
23622362 // @ts -expect-error
23632363 this . compiler ,
23642364 this . options . devMiddleware ,
2365+ true ,
23652366 ) ;
23662367 }
23672368
Original file line number Diff line number Diff line change 11export = Server ;
2- /**
3- * @typedef {object } BasicApplication
4- * @property {typeof useFn } use
5- */
62/**
73 * @template {BasicApplication} [A=ExpressApplication]
84 * @template {BasicServer} [S=HTTPServer]
@@ -1167,7 +1163,10 @@ declare class Server<
11671163 * @param {Compiler | MultiCompiler } compiler compiler
11681164 */
11691165 constructor ( options : Configuration < A , S > , compiler : Compiler | MultiCompiler ) ;
1170- compiler : import ( "webpack" ) . Compiler | import ( "webpack" ) . MultiCompiler ;
1166+ compiler :
1167+ | import ( "webpack" ) . Compiler
1168+ | import ( "webpack" ) . MultiCompiler
1169+ | undefined ;
11711170 /**
11721171 * @type {ReturnType<Compiler["getInfrastructureLogger"]> }
11731172 */
@@ -1409,6 +1408,11 @@ declare class Server<
14091408 * @param {((err?: Error) => void)= } callback callback
14101409 */
14111410 stopCallback ( callback ?: ( ( err ?: Error ) => void ) | undefined ) : void ;
1411+ /**
1412+ * @param {Compiler } compiler compiler
1413+ * @returns {void }
1414+ */
1415+ apply ( compiler : Compiler ) : void ;
14121416 #private;
14131417}
14141418declare namespace Server {
You can’t perform that action at this time.
0 commit comments