From a30171906ee19ee2bba3d90fb2cd75dd914470f3 Mon Sep 17 00:00:00 2001 From: use-strict Date: Wed, 21 Oct 2015 16:47:40 +0300 Subject: [PATCH] webpack - added missing chunkName parameter --- webpack/webpack-env.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack/webpack-env.d.ts b/webpack/webpack-env.d.ts index 01ea6e404..f67b9c5d6 100644 --- a/webpack/webpack-env.d.ts +++ b/webpack/webpack-env.d.ts @@ -28,7 +28,7 @@ declare namespace __WebpackModuleApi { * * This creates a chunk. The chunk can be named. If a chunk with this name already exists, the dependencies are merged into that chunk and that chunk is used. */ - ensure: (paths: string[], callback: (require: (path: string) => T) => void) => void; + ensure: (paths: string[], callback: (require: (path: string) => T) => void, chunkName?: string) => void; context: (path: string, deep?: boolean, filter?: RegExp) => RequireContext; /** * Returns the module id of a dependency. The call is sync. No request to the server is fired. The compiler ensures that the dependency is available. @@ -100,4 +100,4 @@ declare var __non_webpack_require__: any; /** * Equals the config option debug */ -declare var DEBUG: boolean; \ No newline at end of file +declare var DEBUG: boolean;