Skip to content

Commit 15c387a

Browse files
authored
docs: update Server types (webpack#7099)
1 parent 3d2cdda commit 15c387a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/configuration/experiments.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Compile entrypoints and dynamic `import`s only when they are in use. It can be u
265265
/**
266266
* Specify where to listen to from the server.
267267
*/
268-
listen?: number | ListenOptions | ((server: typeof Server) => void);
268+
listen?: number | ListenOptions | ((server: Server) => void);
269269

270270
/**
271271
* Specify the protocol the client should use to connect to the server.
@@ -275,7 +275,7 @@ Compile entrypoints and dynamic `import`s only when they are in use. It can be u
275275
/**
276276
* Specify how to create the server handling the EventSource requests.
277277
*/
278-
server?: ServerOptionsImport | ServerOptionsHttps | (() => typeof Server);
278+
server?: ServerOptionsImport | ServerOptionsHttps | (() => Server);
279279

280280
},
281281
entries?: boolean,

0 commit comments

Comments
 (0)