mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Update index.d.ts
This commit is contained in:
Vendored
+14
-2
@@ -95,6 +95,18 @@ declare namespace webpack {
|
||||
interface Entry {
|
||||
[name: string]: string | string[];
|
||||
}
|
||||
|
||||
interface DevtoolModuleTemplateInfo {
|
||||
identifier: string;
|
||||
shortIdentifier: string;
|
||||
resource: any;
|
||||
resourcePath: string;
|
||||
absoluteResourcePath: string;
|
||||
allLoaders: any[];
|
||||
query: string;
|
||||
moduleId: string;
|
||||
hash: string;
|
||||
}
|
||||
|
||||
interface Output {
|
||||
/** The output directory as absolute path (required). */
|
||||
@@ -106,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: any) => string;
|
||||
devtoolModuleFilenameTemplate?: string | ((info: DevtoolModuleTemplateInfo) => string);
|
||||
/** Similar to output.devtoolModuleFilenameTemplate, but used in the case of duplicate module identifiers. */
|
||||
devtoolFallbackModuleFilenameTemplate?: string;
|
||||
devtoolFallbackModuleFilenameTemplate?: string | ((info: DevtoolModuleTemplateInfo) => 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