mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Update webpack-hot-middleware to use webpack.ICompiler instead of compiler.Compiler
This commit is contained in:
+3
-3
@@ -1,15 +1,15 @@
|
||||
// Type definitions for webpack-hot-middleware 2.16
|
||||
// Project: https://github.com/glenjamin/webpack-hot-middleware#readme
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>, Ron Martinez <https://github.com/icylace>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import { NextHandleFunction } from 'connect';
|
||||
import { compiler } from 'webpack';
|
||||
import * as webpack from 'webpack';
|
||||
|
||||
export = WebpackHotMiddleware;
|
||||
|
||||
declare function WebpackHotMiddleware(
|
||||
compiler: compiler.Compiler,
|
||||
compiler: webpack.ICompiler,
|
||||
options?: WebpackHotMiddleware.Options
|
||||
): NextHandleFunction & WebpackHotMiddleware.EventStream;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user