Update index.d.ts

This commit is contained in:
Mohsen Azimi
2017-07-07 10:16:34 -07:00
committed by GitHub
parent 0d0eb743b7
commit 1f359f76e7

View File

@@ -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.