types(cli): fix WebpackConfig type

This commit is contained in:
chenjiahan
2020-07-04 17:56:47 +08:00
parent 4aff784d65
commit c0308e9b96
6 changed files with 17 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
import type Webpack from 'webpack';
import type WebpackDevServer from 'webpack-dev-server';
export type WebpackConfig = Webpack.Configuration & {
devServer?: WebpackDevServer.Configuration;
};