mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
updated TS version to 2.3 for all webpack consumers
This commit is contained in:
parent
ec8691b39d
commit
c8357c63f6
2
types/assets-webpack-plugin/index.d.ts
vendored
2
types/assets-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/sporto/assets-webpack-plugin
|
||||
// Definitions by: Michael Strobel <https://github.com/kryops>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import * as webpack from 'webpack';
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/Urthen/case-sensitive-paths-webpack-plugin#readme
|
||||
// Definitions by: Andrew Makarov <https://github.com/r3nya>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/clean-webpack-plugin/index.d.ts
vendored
2
types/clean-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/johnagan/clean-webpack-plugin
|
||||
// Definitions by: Jed Fox <https://github.com/j-f1>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/compression-webpack-plugin/index.d.ts
vendored
2
types/compression-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/webpack-contrib/compression-webpack-plugin
|
||||
// Definitions by: Anton Kandybo <https://github.com/dublicator>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/copy-webpack-plugin/index.d.ts
vendored
2
types/copy-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/kevlened/copy-webpack-plugin
|
||||
// Definitions by: flying-sheep <https://github.com/flying-sheep>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack'
|
||||
import { IOptions } from 'minimatch'
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme
|
||||
// Definitions by: Matt Traynham <https://github.com/mtraynham>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
3
types/enhanced-resolve/index.d.ts
vendored
3
types/enhanced-resolve/index.d.ts
vendored
@ -1,7 +1,8 @@
|
||||
// Type definitions for enhanced-resolve v3.0.0
|
||||
// Project: https://github.com/webpack/enhanced-resolve.git
|
||||
// Definitions by: e-cloud <https://github.com/e-cloud>, Onigoetz <https://github.com/onigoetz>
|
||||
// Definitions by: e-cloud <https://github.com/e-cloud>, Onigoetz <https://github.com/onigoetz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
/// <reference types="tapable" />
|
||||
|
||||
2
types/extract-text-webpack-plugin/index.d.ts
vendored
2
types/extract-text-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/webpack-contrib/extract-text-webpack-plugin
|
||||
// Definitions by: flying-sheep <https://github.com/flying-sheep>, kayo <https://github.com/katyo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin, NewLoader, OldLoader } from 'webpack';
|
||||
|
||||
|
||||
2
types/html-webpack-plugin/index.d.ts
vendored
2
types/html-webpack-plugin/index.d.ts
vendored
@ -4,7 +4,7 @@
|
||||
// Benjamin Lim <https://github.com/bumbleblym>
|
||||
// Tomek Łaziuk <https://github.com/tlaziuk>
|
||||
// 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';
|
||||
|
||||
2
types/html-webpack-template/index.d.ts
vendored
2
types/html-webpack-template/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/jaketrent/html-webpack-template
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Options as HtmlWebpackPluginOptions } from 'html-webpack-plugin';
|
||||
|
||||
|
||||
2
types/loader-utils/index.d.ts
vendored
2
types/loader-utils/index.d.ts
vendored
@ -3,7 +3,7 @@
|
||||
// Definitions by: Gyusun Yeom <https://github.com/Perlmint>
|
||||
// Totooria Hyperion <https://github.com/TotooriaHyperion>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
|
||||
2
types/lodash-webpack-plugin/index.d.ts
vendored
2
types/lodash-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/lodash/lodash-webpack-plugin#readme
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/NMFR/optimize-css-assets-webpack-plugin
|
||||
// Definitions by: Armando Meziat <https://github.com/odnamrataizem>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/stylelint-webpack-plugin/index.d.ts
vendored
2
types/stylelint-webpack-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/JaKXz/stylelint-webpack-plugin
|
||||
// Definitions by: Arne Bahlo <https://github.com/bahlo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
1
types/tapable/index.d.ts
vendored
1
types/tapable/index.d.ts
vendored
@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/webpack/tapable.git
|
||||
// Definitions by: e-cloud <https://github.com/e-cloud>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
declare abstract class Tapable {
|
||||
private _plugins: {
|
||||
|
||||
@ -9,9 +9,9 @@
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"baseUrl": "../../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
"../../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
|
||||
79
types/tapable/v0/tslint.json
Normal file
79
types/tapable/v0/tslint.json
Normal file
@ -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
|
||||
}
|
||||
}
|
||||
2
types/webpack-bundle-analyzer/index.d.ts
vendored
2
types/webpack-bundle-analyzer/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/th0r/webpack-bundle-analyzer
|
||||
// Definitions by: Michael Strobel <https://github.com/kryops>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import * as webpack from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-chain/index.d.ts
vendored
2
types/webpack-chain/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/mozilla-neutrino/webpack-chain
|
||||
// Definitions by: Eirikur Nilsson <https://github.com/eirikurn>, Paul Sachs <https://github.com/psachs21>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import * as webpack from 'webpack';
|
||||
import * as https from 'https';
|
||||
|
||||
2
types/webpack-chunk-hash/index.d.ts
vendored
2
types/webpack-chunk-hash/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/alexindigo/webpack-chunk-hash#readme
|
||||
// Definitions by: Matt Traynham <https://github.com/mtraynham>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-cleanup-plugin/index.d.ts
vendored
2
types/webpack-cleanup-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/gpbl/webpack-cleanup-plugin#readme
|
||||
// Definitions by: Luka Maljic <https://github.com/malj>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
export = WebpackCleanupPlugin;
|
||||
|
||||
2
types/webpack-dev-middleware/index.d.ts
vendored
2
types/webpack-dev-middleware/index.d.ts
vendored
@ -3,7 +3,7 @@
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
||||
// reduckted <https://github.com/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';
|
||||
|
||||
2
types/webpack-dev-middleware/v1/index.d.ts
vendored
2
types/webpack-dev-middleware/v1/index.d.ts
vendored
@ -3,7 +3,7 @@
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
||||
// reduckted <https://github.com/reduckted>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { NextHandleFunction } from 'connect';
|
||||
import * as webpack from 'webpack';
|
||||
|
||||
2
types/webpack-dev-server/index.d.ts
vendored
2
types/webpack-dev-server/index.d.ts
vendored
@ -5,7 +5,7 @@
|
||||
// Zheyang Song <https://github.com/ZheyangSong>
|
||||
// Alan Agius <https://github.com/alan-agius4>
|
||||
// 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';
|
||||
|
||||
2
types/webpack-dotenv-plugin/index.d.ts
vendored
2
types/webpack-dotenv-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/nwinch/webpack-dotenv-plugin#readme
|
||||
// Definitions by: Michael Strobel <https://github.com/kryops>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import * as webpack from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-fail-plugin/index.d.ts
vendored
2
types/webpack-fail-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/TiddoLangerak/webpack-fail-plugin
|
||||
// Definitions by: Simon Hartcher <https://github.com/deevus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
///<reference types="webpack" />
|
||||
|
||||
|
||||
2
types/webpack-hot-middleware/index.d.ts
vendored
2
types/webpack-hot-middleware/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/glenjamin/webpack-hot-middleware#readme
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>, Ron Martinez <https://github.com/icylace>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { NextHandleFunction } from 'connect';
|
||||
import * as webpack from 'webpack';
|
||||
|
||||
2
types/webpack-manifest-plugin/index.d.ts
vendored
2
types/webpack-manifest-plugin/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/danethurber/webpack-manifest-plugin
|
||||
// Definitions by: Andrew Makarov <https://github.com/r3nya>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-merge/index.d.ts
vendored
2
types/webpack-merge/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/survivejs/webpack-merge
|
||||
// Definitions by: Simon Hartcher <https://github.com/deevus>, Matt Traynham <https://github.com/mtraynham>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Configuration } from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-merge/v0/index.d.ts
vendored
2
types/webpack-merge/v0/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/survivejs/webpack-merge
|
||||
// Definitions by: Simon Hartcher <https://github.com/deevus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
///<reference types="webpack" />
|
||||
|
||||
|
||||
2
types/webpack-node-externals/index.d.ts
vendored
2
types/webpack-node-externals/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/liady/webpack-node-externals
|
||||
// Definitions by: Matt Traynham <https://github.com/mtraynham>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { ExternalsFunctionElement } from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-notifier/index.d.ts
vendored
2
types/webpack-notifier/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/Turbo87/webpack-notifier#readme
|
||||
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Plugin } from 'webpack';
|
||||
|
||||
|
||||
2
types/webpack-stream/index.d.ts
vendored
2
types/webpack-stream/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/shama/webpack-stream
|
||||
// Definitions by: Ian Clanton-Thuon <https://github.com/iclanton>, Benjamin Lim <https://github.com/bumbleblym>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
|
||||
2
types/webpack-validator/index.d.ts
vendored
2
types/webpack-validator/index.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/js-dxtools/webpack-validator
|
||||
// Definitions by: Simon Hartcher <https://github.com/deevus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
///<reference types="webpack" />
|
||||
|
||||
|
||||
54
types/webpack/index.d.ts
vendored
54
types/webpack/index.d.ts
vendored
@ -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 <https://github.com/tkqubo>
|
||||
// Benjamin Lim <https://github.com/bumbleblym>
|
||||
@ -12,7 +12,7 @@
|
||||
// Jason Cheatham <https://github.com/jason0x43>
|
||||
// Dennis George <https://github.com/dennispg>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
@ -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<any>;
|
||||
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<any, any>;
|
||||
chunks: any[];
|
||||
chunkGroups: any[];
|
||||
namedChunkGroups: Map<any, any>;
|
||||
namedChunks: Map<any, any>;
|
||||
modules: any[];
|
||||
_modules: Map<any, any>;
|
||||
cache: any;
|
||||
records: any;
|
||||
nextFreeModuleIndex: any;
|
||||
nextFreeModuleIndex2: any;
|
||||
additionalChunkAssets: any[];
|
||||
assets: any;
|
||||
errors: any[];
|
||||
warnings: any[];
|
||||
children: any[];
|
||||
dependencyFactories : Map<typeof Dependency, Tapable>;
|
||||
dependencyTemplates : Map<typeof Dependency, Tapable>;
|
||||
_preparedEntrypoints: any[];
|
||||
entrypoints: Map<any, any>;
|
||||
chunks: any[];
|
||||
chunkGroups: any[];
|
||||
namedChunkGroups: Map<any, any>;
|
||||
namedChunks: Map<any, any>;
|
||||
modules: any[];
|
||||
_modules: Map<any, any>;
|
||||
cache: any;
|
||||
records: any;
|
||||
nextFreeModuleIndex: any;
|
||||
nextFreeModuleIndex2: any;
|
||||
additionalChunkAssets: any[];
|
||||
assets: any;
|
||||
errors: any[];
|
||||
warnings: any[];
|
||||
children: any[];
|
||||
dependencyFactories: Map<typeof Dependency, Tapable>;
|
||||
dependencyTemplates: Map<typeof Dependency, Tapable>;
|
||||
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)
|
||||
|
||||
@ -14,10 +14,7 @@
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"paths": {
|
||||
"tapable": ["tapable"]
|
||||
}
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
|
||||
@ -16,7 +16,8 @@
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"paths": {
|
||||
"webpack": ["webpack/v3"]
|
||||
"webpack": ["webpack/v3"],
|
||||
"tapable": ["tapable/v0"]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user