@types/webpack-hot-middleware
Advanced tools
Comparing version 2.25.2 to 2.25.3
@@ -17,37 +17,37 @@ // Type definitions for webpack-hot-middleware 2.25 | ||
declare function WebpackHotMiddleware( | ||
compiler: webpack.ICompiler, | ||
options?: WebpackHotMiddleware.MiddlewareOptions | ||
compiler: webpack.ICompiler, | ||
options?: WebpackHotMiddleware.MiddlewareOptions | ||
): NextHandleFunction & WebpackHotMiddleware.EventStream; | ||
declare namespace WebpackHotMiddleware { | ||
interface ClientOptions { | ||
path?: string; | ||
reload?: boolean; | ||
name?: string; | ||
timeout?: number; | ||
overlay?: boolean; | ||
noInfo?: boolean; | ||
quiet?: boolean; | ||
dynamicPublicPath?: boolean; | ||
autoConnect?: boolean; | ||
ansiColors?: { | ||
[key: string]: any | ||
}; | ||
overlayStyles?: { | ||
[key: string]: any | ||
}; | ||
overlayWarnings?: boolean; | ||
} | ||
interface MiddlewareOptions { | ||
log?: false | Logger; | ||
path?: string; | ||
heartbeat?: number; | ||
} | ||
interface ClientOptions { | ||
path?: string; | ||
reload?: boolean; | ||
name?: string; | ||
timeout?: number; | ||
overlay?: boolean; | ||
noInfo?: boolean; | ||
quiet?: boolean; | ||
dynamicPublicPath?: boolean; | ||
autoConnect?: boolean; | ||
ansiColors?: { | ||
[key: string]: any | ||
}; | ||
overlayStyles?: { | ||
[key: string]: any | ||
}; | ||
overlayWarnings?: boolean; | ||
} | ||
interface MiddlewareOptions { | ||
log?: false | Logger; | ||
path?: string; | ||
heartbeat?: number; | ||
} | ||
type Logger = (message?: any, ...optionalParams: any[]) => void; | ||
type Logger = (message?: any, ...optionalParams: any[]) => void; | ||
interface EventStream { | ||
publish(payload: any): void; | ||
close(): void; | ||
} | ||
interface EventStream { | ||
publish(payload: any): void; | ||
close(): void; | ||
} | ||
} |
{ | ||
"name": "@types/webpack-hot-middleware", | ||
"version": "2.25.2", | ||
"version": "2.25.3", | ||
"description": "TypeScript definitions for webpack-hot-middleware", | ||
@@ -45,4 +45,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "0c51494371d0b603e21cbbbb27e8e168de7be49dbb5e81956e9bd5d6182248b6", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "d81a8a460209345e8599ff34db744ca24504d78872d507f85403ae47eb2ad344", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 17 Apr 2020 21:28:59 GMT | ||
* Last updated: Fri, 15 May 2020 13:12:58 GMT | ||
* Dependencies: [@types/connect](https://npmjs.com/package/@types/connect), [@types/webpack](https://npmjs.com/package/@types/webpack) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5015