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;