From 1f359f76e72ed24e271d22fbbb60ec6fd55cead7 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Fri, 7 Jul 2017 10:16:34 -0700 Subject: [PATCH] Update index.d.ts --- types/webpack/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 251a7d2a74..6fa0b2fc97 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -96,7 +96,7 @@ declare namespace webpack { [name: string]: string | string[]; } - interface DevtoolModuleTemplateInfo { + interface DevtoolModuleFilenameTemplateInfo { identifier: string; shortIdentifier: string; resource: any; @@ -118,9 +118,9 @@ declare namespace webpack { /** The filename of the SourceMaps for the JavaScript files. They are inside the output.path directory. */ sourceMapFilename?: string; /** Filename template string of function for the sources array in a generated SourceMap. */ - devtoolModuleFilenameTemplate?: string | ((info: DevtoolModuleTemplateInfo) => string); + devtoolModuleFilenameTemplate?: string | ((info: DevtoolModuleFilenameTemplateInfo) => string); /** Similar to output.devtoolModuleFilenameTemplate, but used in the case of duplicate module identifiers. */ - devtoolFallbackModuleFilenameTemplate?: string | ((info: DevtoolModuleTemplateInfo) => string); + devtoolFallbackModuleFilenameTemplate?: string | ((info: DevtoolModuleFilenameTemplateInfo) => string); /** * Enable line to line mapped mode for all/specified modules. * Line to line mapped mode uses a simple SourceMap where each line of the generated source is mapped to the same line of the original source.