Update webpack-hot-middleware to use webpack.ICompiler instead of compiler.Compiler

This commit is contained in:
Ron Martinez
2017-11-06 23:10:19 -05:00
parent f0b1bb2464
commit 25696174e1
+3 -3
View File
@@ -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;