diff --git a/types/assets-webpack-plugin/index.d.ts b/types/assets-webpack-plugin/index.d.ts index 660fbc6052..7644d8f9ad 100644 --- a/types/assets-webpack-plugin/index.d.ts +++ b/types/assets-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/sporto/assets-webpack-plugin // Definitions by: Michael Strobel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import * as webpack from 'webpack'; diff --git a/types/case-sensitive-paths-webpack-plugin/index.d.ts b/types/case-sensitive-paths-webpack-plugin/index.d.ts index 38fdd9c032..58cdccf25f 100644 --- a/types/case-sensitive-paths-webpack-plugin/index.d.ts +++ b/types/case-sensitive-paths-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Urthen/case-sensitive-paths-webpack-plugin#readme // Definitions by: Andrew Makarov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/clean-webpack-plugin/index.d.ts b/types/clean-webpack-plugin/index.d.ts index afe8a65b69..7c23e51df5 100644 --- a/types/clean-webpack-plugin/index.d.ts +++ b/types/clean-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/johnagan/clean-webpack-plugin // Definitions by: Jed Fox // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/compression-webpack-plugin/index.d.ts b/types/compression-webpack-plugin/index.d.ts index bfb769ed2f..a7b38383ef 100644 --- a/types/compression-webpack-plugin/index.d.ts +++ b/types/compression-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/webpack-contrib/compression-webpack-plugin // Definitions by: Anton Kandybo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/copy-webpack-plugin/index.d.ts b/types/copy-webpack-plugin/index.d.ts index 72331b4c6d..eedf42f450 100644 --- a/types/copy-webpack-plugin/index.d.ts +++ b/types/copy-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kevlened/copy-webpack-plugin // Definitions by: flying-sheep // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack' import { IOptions } from 'minimatch' diff --git a/types/duplicate-package-checker-webpack-plugin/index.d.ts b/types/duplicate-package-checker-webpack-plugin/index.d.ts index fd2906aa46..1eff56e9d5 100644 --- a/types/duplicate-package-checker-webpack-plugin/index.d.ts +++ b/types/duplicate-package-checker-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme // Definitions by: Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/enhanced-resolve/index.d.ts b/types/enhanced-resolve/index.d.ts index 5a39b4f6d0..1cf3a3397a 100644 --- a/types/enhanced-resolve/index.d.ts +++ b/types/enhanced-resolve/index.d.ts @@ -1,7 +1,8 @@ // Type definitions for enhanced-resolve v3.0.0 // Project: https://github.com/webpack/enhanced-resolve.git -// Definitions by: e-cloud , Onigoetz +// Definitions by: e-cloud , Onigoetz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 /// /// diff --git a/types/extract-text-webpack-plugin/index.d.ts b/types/extract-text-webpack-plugin/index.d.ts index 9f17a66da0..61b381d253 100644 --- a/types/extract-text-webpack-plugin/index.d.ts +++ b/types/extract-text-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/webpack-contrib/extract-text-webpack-plugin // Definitions by: flying-sheep , kayo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin, NewLoader, OldLoader } from 'webpack'; diff --git a/types/html-webpack-plugin/index.d.ts b/types/html-webpack-plugin/index.d.ts index 35774c1ac6..c3db12f4e7 100644 --- a/types/html-webpack-plugin/index.d.ts +++ b/types/html-webpack-plugin/index.d.ts @@ -4,7 +4,7 @@ // Benjamin Lim // Tomek Łaziuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; import { Options as HtmlMinifierOptions } from 'html-minifier'; diff --git a/types/html-webpack-template/index.d.ts b/types/html-webpack-template/index.d.ts index b02be3c463..1436728a72 100644 --- a/types/html-webpack-template/index.d.ts +++ b/types/html-webpack-template/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/jaketrent/html-webpack-template // Definitions by: Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Options as HtmlWebpackPluginOptions } from 'html-webpack-plugin'; diff --git a/types/loader-utils/index.d.ts b/types/loader-utils/index.d.ts index 37ce2e461f..18aa16d7e4 100644 --- a/types/loader-utils/index.d.ts +++ b/types/loader-utils/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Gyusun Yeom // Totooria Hyperion // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// diff --git a/types/lodash-webpack-plugin/index.d.ts b/types/lodash-webpack-plugin/index.d.ts index e7e2dfd4db..505c54b5c4 100644 --- a/types/lodash-webpack-plugin/index.d.ts +++ b/types/lodash-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/lodash/lodash-webpack-plugin#readme // Definitions by: Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/optimize-css-assets-webpack-plugin/index.d.ts b/types/optimize-css-assets-webpack-plugin/index.d.ts index 788b2e6a1f..79a510a12b 100644 --- a/types/optimize-css-assets-webpack-plugin/index.d.ts +++ b/types/optimize-css-assets-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/NMFR/optimize-css-assets-webpack-plugin // Definitions by: Armando Meziat // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/stylelint-webpack-plugin/index.d.ts b/types/stylelint-webpack-plugin/index.d.ts index dfaf0a4f05..21405d739d 100644 --- a/types/stylelint-webpack-plugin/index.d.ts +++ b/types/stylelint-webpack-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/JaKXz/stylelint-webpack-plugin // Definitions by: Arne Bahlo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/tapable/index.d.ts b/types/tapable/index.d.ts index 7df29da48b..ba36704429 100644 --- a/types/tapable/index.d.ts +++ b/types/tapable/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/webpack/tapable.git // Definitions by: e-cloud // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 declare abstract class Tapable { private _plugins: { diff --git a/types/tapable/v0/tsconfig.json b/types/tapable/v0/tsconfig.json index bef7e6f016..aef97e4141 100644 --- a/types/tapable/v0/tsconfig.json +++ b/types/tapable/v0/tsconfig.json @@ -9,9 +9,9 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "baseUrl": "../", + "baseUrl": "../../", "typeRoots": [ - "../" + "../../" ], "types": [], "noEmit": true, diff --git a/types/tapable/v0/tslint.json b/types/tapable/v0/tslint.json new file mode 100644 index 0000000000..a41bf5d19a --- /dev/null +++ b/types/tapable/v0/tslint.json @@ -0,0 +1,79 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "arrow-return-shorthand": false, + "ban-types": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "eofline": false, + "export-just-namespace": false, + "import-spacing": false, + "interface-name": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "max-line-length": false, + "member-access": false, + "new-parens": false, + "no-any-union": false, + "no-boolean-literal-compare": false, + "no-conditional-assignment": false, + "no-consecutive-blank-lines": false, + "no-construct": false, + "no-declare-current-package": false, + "no-duplicate-imports": false, + "no-duplicate-variable": false, + "no-empty-interface": false, + "no-for-in-array": false, + "no-inferrable-types": false, + "no-internal-module": false, + "no-irregular-whitespace": false, + "no-mergeable-namespace": false, + "no-misused-new": false, + "no-namespace": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-redundant-jsdoc": false, + "no-redundant-jsdoc-2": false, + "no-redundant-undefined": false, + "no-reference-import": false, + "no-relative-import-in-test": false, + "no-self-import": false, + "no-single-declare-module": false, + "no-string-throw": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-class": false, + "no-unnecessary-generics": false, + "no-unnecessary-qualifier": false, + "no-unnecessary-type-assertion": false, + "no-useless-files": false, + "no-var-keyword": false, + "no-var-requires": false, + "no-void-expression": false, + "no-trailing-whitespace": false, + "object-literal-key-quotes": false, + "object-literal-shorthand": false, + "one-line": false, + "one-variable-per-declaration": false, + "only-arrow-functions": false, + "prefer-conditional-expression": false, + "prefer-const": false, + "prefer-declare-function": false, + "prefer-for-of": false, + "prefer-method-signature": false, + "prefer-template": false, + "radix": false, + "semicolon": false, + "space-before-function-paren": false, + "space-within-parens": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "triple-equals": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} diff --git a/types/webpack-bundle-analyzer/index.d.ts b/types/webpack-bundle-analyzer/index.d.ts index 3f856a7328..6b2db94b65 100644 --- a/types/webpack-bundle-analyzer/index.d.ts +++ b/types/webpack-bundle-analyzer/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/th0r/webpack-bundle-analyzer // Definitions by: Michael Strobel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import * as webpack from 'webpack'; diff --git a/types/webpack-chain/index.d.ts b/types/webpack-chain/index.d.ts index 05aa4e5845..a5b8349faa 100644 --- a/types/webpack-chain/index.d.ts +++ b/types/webpack-chain/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/mozilla-neutrino/webpack-chain // Definitions by: Eirikur Nilsson , Paul Sachs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import * as webpack from 'webpack'; import * as https from 'https'; diff --git a/types/webpack-chunk-hash/index.d.ts b/types/webpack-chunk-hash/index.d.ts index f499a00dc9..f6ef6ea08b 100644 --- a/types/webpack-chunk-hash/index.d.ts +++ b/types/webpack-chunk-hash/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/alexindigo/webpack-chunk-hash#readme // Definitions by: Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/webpack-cleanup-plugin/index.d.ts b/types/webpack-cleanup-plugin/index.d.ts index a6efd31af7..4cac414a3a 100644 --- a/types/webpack-cleanup-plugin/index.d.ts +++ b/types/webpack-cleanup-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gpbl/webpack-cleanup-plugin#readme // Definitions by: Luka Maljic // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; export = WebpackCleanupPlugin; diff --git a/types/webpack-dev-middleware/index.d.ts b/types/webpack-dev-middleware/index.d.ts index cc3e7e03dd..6a7d1bc4b3 100644 --- a/types/webpack-dev-middleware/index.d.ts +++ b/types/webpack-dev-middleware/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Benjamin Lim // reduckted // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import * as webpack from 'webpack'; import * as loglevel from 'loglevel'; diff --git a/types/webpack-dev-middleware/v1/index.d.ts b/types/webpack-dev-middleware/v1/index.d.ts index e88cec98ef..af97857a45 100644 --- a/types/webpack-dev-middleware/v1/index.d.ts +++ b/types/webpack-dev-middleware/v1/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Benjamin Lim // reduckted // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { NextHandleFunction } from 'connect'; import * as webpack from 'webpack'; diff --git a/types/webpack-dev-server/index.d.ts b/types/webpack-dev-server/index.d.ts index c6bab12c3b..4dc419bd3a 100644 --- a/types/webpack-dev-server/index.d.ts +++ b/types/webpack-dev-server/index.d.ts @@ -5,7 +5,7 @@ // Zheyang Song // Alan Agius // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import * as webpack from 'webpack'; import * as core from 'express-serve-static-core'; diff --git a/types/webpack-dotenv-plugin/index.d.ts b/types/webpack-dotenv-plugin/index.d.ts index b8cfb33ef8..086b0c4fda 100644 --- a/types/webpack-dotenv-plugin/index.d.ts +++ b/types/webpack-dotenv-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/nwinch/webpack-dotenv-plugin#readme // Definitions by: Michael Strobel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import * as webpack from 'webpack'; diff --git a/types/webpack-fail-plugin/index.d.ts b/types/webpack-fail-plugin/index.d.ts index 2db28733c2..095a5ec7f0 100644 --- a/types/webpack-fail-plugin/index.d.ts +++ b/types/webpack-fail-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/TiddoLangerak/webpack-fail-plugin // Definitions by: Simon Hartcher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// diff --git a/types/webpack-hot-middleware/index.d.ts b/types/webpack-hot-middleware/index.d.ts index d1a591801a..ca0abd7d69 100644 --- a/types/webpack-hot-middleware/index.d.ts +++ b/types/webpack-hot-middleware/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/glenjamin/webpack-hot-middleware#readme // Definitions by: Benjamin Lim , Ron Martinez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { NextHandleFunction } from 'connect'; import * as webpack from 'webpack'; diff --git a/types/webpack-manifest-plugin/index.d.ts b/types/webpack-manifest-plugin/index.d.ts index cb61e42c18..22cf2e6eba 100644 --- a/types/webpack-manifest-plugin/index.d.ts +++ b/types/webpack-manifest-plugin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/danethurber/webpack-manifest-plugin // Definitions by: Andrew Makarov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/webpack-merge/index.d.ts b/types/webpack-merge/index.d.ts index 23caff9575..e612105c3c 100644 --- a/types/webpack-merge/index.d.ts +++ b/types/webpack-merge/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/survivejs/webpack-merge // Definitions by: Simon Hartcher , Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Configuration } from 'webpack'; diff --git a/types/webpack-merge/v0/index.d.ts b/types/webpack-merge/v0/index.d.ts index 4cf82afd88..8be5346ee3 100644 --- a/types/webpack-merge/v0/index.d.ts +++ b/types/webpack-merge/v0/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/survivejs/webpack-merge // Definitions by: Simon Hartcher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// diff --git a/types/webpack-node-externals/index.d.ts b/types/webpack-node-externals/index.d.ts index c93d3edecf..88f871cef5 100644 --- a/types/webpack-node-externals/index.d.ts +++ b/types/webpack-node-externals/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/liady/webpack-node-externals // Definitions by: Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { ExternalsFunctionElement } from 'webpack'; diff --git a/types/webpack-notifier/index.d.ts b/types/webpack-notifier/index.d.ts index 372b4f2b1c..429d511bab 100644 --- a/types/webpack-notifier/index.d.ts +++ b/types/webpack-notifier/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Turbo87/webpack-notifier#readme // Definitions by: Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 import { Plugin } from 'webpack'; diff --git a/types/webpack-stream/index.d.ts b/types/webpack-stream/index.d.ts index 19159f402d..99b0f4fd93 100644 --- a/types/webpack-stream/index.d.ts +++ b/types/webpack-stream/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/shama/webpack-stream // Definitions by: Ian Clanton-Thuon , Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// diff --git a/types/webpack-validator/index.d.ts b/types/webpack-validator/index.d.ts index 242a71e6f4..198efa2c1f 100644 --- a/types/webpack-validator/index.d.ts +++ b/types/webpack-validator/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/js-dxtools/webpack-validator // Definitions by: Simon Hartcher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 4c2dc207bb..6b947a4bdb 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for webpack 4.1.0 +// Type definitions for webpack 4.1 // Project: https://github.com/webpack/webpack // Definitions by: Qubo // Benjamin Lim @@ -12,7 +12,7 @@ // Jason Cheatham // Dennis George // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// @@ -617,7 +617,7 @@ declare namespace webpack { hasRuntime(): boolean; canBeInitial(): boolean; isOnlyInitial(): boolean; - hasEntryModule() : boolean; + hasEntryModule(): boolean; addModule(module: any): boolean; removeModule(module: any): boolean; @@ -646,10 +646,13 @@ declare namespace webpack { modulesSize(): number; size(options: any): number; integratedSize(otherChunk: any, options: any): number; + // tslint:disable-next-line:ban-types sortModules(sortByFn: Function): void; getAllAsyncChunks(): Set; getChunkMaps(realHash: any): { hash: any, name: any }; + // tslint:disable-next-line:ban-types getChunkModuleMaps(filterFn: Function): { id: any, hash: any }; + // tslint:disable-next-line:ban-types hasModuleInGraph(filterFn: Function, filterChunkFn: Function): boolean; toString(): string; } @@ -658,7 +661,7 @@ declare namespace webpack { constructor(); getResourceIdentifier(): any; getReference(): any; - getExports() : any; + getExports(): any; getWarnings(): any; getErrors(): any; updateHash(hash: any): void; @@ -810,7 +813,7 @@ declare namespace webpack { module: Tapable.SyncWaterfallHook; render: Tapable.SyncWaterfallHook; package: Tapable.SyncWaterfallHook; - hash: Tapable.SyncHook + hash: Tapable.SyncHook; } class ModuleTemplate extends Tapable { @@ -840,27 +843,27 @@ declare namespace webpack { }; entries: any[]; - _preparedEntrypoints: any[]; - entrypoints: Map; - chunks: any[]; - chunkGroups: any[]; - namedChunkGroups: Map; - namedChunks: Map; - modules: any[]; - _modules: Map; - cache: any; - records: any; - nextFreeModuleIndex: any; - nextFreeModuleIndex2: any; - additionalChunkAssets: any[]; - assets: any; - errors: any[]; - warnings: any[]; - children: any[]; - dependencyFactories : Map; - dependencyTemplates : Map; + _preparedEntrypoints: any[]; + entrypoints: Map; + chunks: any[]; + chunkGroups: any[]; + namedChunkGroups: Map; + namedChunks: Map; + modules: any[]; + _modules: Map; + cache: any; + records: any; + nextFreeModuleIndex: any; + nextFreeModuleIndex2: any; + additionalChunkAssets: any[]; + assets: any; + errors: any[]; + warnings: any[]; + children: any[]; + dependencyFactories: Map; + dependencyTemplates: Map; childrenCounters: any; - usedChunkIds: any; + usedChunkIds: any; usedModuleIds: any; getStats(): Stats; addModule(module: CompilationModule, cacheGroup: any): any; @@ -870,6 +873,7 @@ declare namespace webpack { // buildModule(module, optional, origin, dependencies, thisCallback) // processModuleDependencies(module, callback) // addModuleDependencies(module, dependencies, bail, cacheGroup, recursive, callback) + // tslint:disable-next-line:ban-types addEntry(context: any, entry: any, name: any, callback: Function): void; // prefetch(context, dependency, callback) // rebuildModule(module, thisCallback) diff --git a/types/webpack/tsconfig.json b/types/webpack/tsconfig.json index dc9eca83d6..4cf3324827 100644 --- a/types/webpack/tsconfig.json +++ b/types/webpack/tsconfig.json @@ -14,10 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "tapable": ["tapable"] - } + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack/v3/tsconfig.json b/types/webpack/v3/tsconfig.json index a6671e38b4..0ef8b21875 100644 --- a/types/webpack/v3/tsconfig.json +++ b/types/webpack/v3/tsconfig.json @@ -16,7 +16,8 @@ "noEmit": true, "forceConsistentCasingInFileNames": true, "paths": { - "webpack": ["webpack/v3"] + "webpack": ["webpack/v3"], + "tapable": ["tapable/v0"] } }, "files": [