mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-15 12:09:40 +08:00
Update index.d.ts
This commit is contained in:
6
types/webpack/index.d.ts
vendored
6
types/webpack/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user