Bump aspnet-webpack version to 2.0.2. Also, further minor tweak to TypeScript annotations.

This commit is contained in:
Steve Sanderson
2018-01-24 17:49:51 -08:00
parent 6274733565
commit 08c2f231ea
2 changed files with 3 additions and 3 deletions

View File

@@ -262,9 +262,9 @@ export function createWebpackDevServer(callback: CreateDevServerCallback, option
webpackConfigExport = webpackConfigExport(options.suppliedOptions.EnvParam);
}
const webpackConfigThenable: Thenable<WebpackConfigOrArray> = isThenable(webpackConfigExport)
const webpackConfigThenable = isThenable<WebpackConfigOrArray>(webpackConfigExport)
? webpackConfigExport
: { then: callback => callback(webpackConfigExport) };
: { then: callback => callback(webpackConfigExport) } as Thenable<WebpackConfigOrArray>;
webpackConfigThenable.then(webpackConfigResolved => {
const webpackConfigArray = webpackConfigResolved instanceof Array ? webpackConfigResolved : [webpackConfigResolved];