@types/webpack-hot-middleware

  • Version 2.25.5
  • Published
  • 7.23 kB
  • 2 dependencies
  • MIT license

Install

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

Overview

TypeScript definitions for webpack-hot-middleware

Index

Functions

function WebpackHotMiddleware

WebpackHotMiddleware: (
compiler: any,
options?: WebpackHotMiddleware.MiddlewareOptions
) => NextHandleFunction & WebpackHotMiddleware.EventStream;

    Interfaces

    interface ClientOptions

    interface ClientOptions {}

      property ansiColors

      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

                  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 (2)

                                              Dev Dependencies (0)

                                              No dev dependencies.

                                              Peer Dependencies (0)

                                              No peer dependencies.

                                              Badge

                                              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
                                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/webpack-hot-middleware)
                                              • 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>