• Version 2.25.9
  • Published
  • 6.25 kB
  • 3 dependencies
  • MIT license


npm i @types/webpack-hot-middleware
yarn add @types/webpack-hot-middleware
pnpm add @types/webpack-hot-middleware


TypeScript definitions for webpack-hot-middleware



function WebpackHotMiddleware

WebpackHotMiddleware: (
compiler: webpack.Compiler | webpack.MultiCompiler,
options?: WebpackHotMiddleware.MiddlewareOptions
) => NextHandleFunction & WebpackHotMiddleware.EventStream;


    interface ClientOptions

    interface ClientOptions {}

      property ansiColors

      | {
      [key: string]: any;
      | undefined;

        property autoConnect

        autoConnect?: boolean | undefined;

          property dynamicPublicPath

          dynamicPublicPath?: boolean | undefined;

            property name

            name?: string | undefined;

              property noInfo

              noInfo?: boolean | undefined;

                property overlay

                overlay?: boolean | undefined;

                  property overlayStyles

                  | {
                  [key: string]: any;
                  | undefined;

                    property overlayWarnings

                    overlayWarnings?: boolean | undefined;

                      property path

                      path?: string | undefined;

                        property quiet

                        quiet?: boolean | undefined;

                          property reload

                          reload?: boolean | undefined;

                            property timeout

                            timeout?: number | undefined;

                              interface EventStream

                              interface EventStream {}

                                method close

                                close: () => void;

                                  method publish

                                  publish: (payload: any) => void;

                                    interface MiddlewareOptions

                                    interface MiddlewareOptions {}

                                      property heartbeat

                                      heartbeat?: number | undefined;

                                        property log

                                        log?: false | Logger | undefined;

                                          property path

                                          path?: string | undefined;

                                            Type Aliases

                                            type Logger

                                            type Logger = (message?: any, ...optionalParams: any[]) => void;

                                              Package Files (1)

                                              Dependencies (3)

                                              Dev Dependencies (0)

                                              No dev dependencies.

                                              Peer Dependencies (0)

                                              No peer dependencies.


                                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/webpack-hot-middleware.

                                              • Markdown
                                              • HTML
                                                <a href="https://www.jsdocs.io/package/@types/webpack-hot-middleware"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>