File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ declare global {
1515 const RESOURCE_QUERY : string ;
1616}
1717
18- declare interface CommunicationClient {
18+ export interface CommunicationClient {
1919 onOpen ( fn : ( ...args : unknown [ ] ) => void ) : void ;
2020 onClose ( fn : ( ...args : unknown [ ] ) => void ) : void ;
2121 onMessage ( fn : ( ...args : unknown [ ] ) => void ) : void ;
2222}
2323
24- declare interface CommunicationClientConstructor {
24+ export interface CommunicationClientConstructor {
2525 new ( url : string ) : CommunicationClient ; // Defines a constructor that takes a string and returns a GreeterInstance
2626}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The minimum supported Node.js version is now `^20.19.0 || >=22.12.0`.
1414
1515` @rspack/dev-server ` v2 is designed to work with Rspack v2. Rspack v1 is no longer supported in v2.
1616
17- ## Pure ESM package
17+ ### Pure ESM package
1818
1919` @rspack/dev-server ` is now published as ** pure ESM** package.
2020
You can’t perform that action at this time.
0 commit comments