refactor: use type aliases in webpack options namespace

This commit is contained in:
Benjamin Lim
2017-07-09 14:27:03 +08:00
parent 95390bf278
commit df4cf48508
+2 -2
View File
@@ -18,13 +18,13 @@ declare namespace WebpackDevMiddleware {
noInfo?: boolean;
quiet?: boolean;
lazy?: boolean;
watchOptions?: webpack.WatchOptions;
watchOptions?: webpack.Options.WatchOptions;
publicPath: string;
index?: string;
headers?: {
[name: string]: string;
};
stats?: webpack.Stats.ToStringOptions;
stats?: webpack.Options.Stats;
reporter?: Reporter | null;
serverSideRender?: boolean;