@types/tapable
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -12,2 +12,5 @@ // Type definitions for tapable v1.0.0 | ||
/** @deprecated Private internals. Do not use directly */ | ||
_pluginCompat: Hook; | ||
/** | ||
@@ -279,3 +282,5 @@ * @deprecated Tapable.plugin is deprecated. Use new API on `.hooks` instead | ||
/** A HookMap is a helper class for a Map with Hooks */ | ||
export class HookMap<T1 = any, T2 = any, T3 = any> { | ||
constructor(fn: () => Hook); | ||
get: (key: any) => Hook<T1, T2, T3> | undefined; | ||
@@ -292,1 +297,14 @@ for: (key: any) => Hook<T1, T2, T3>; | ||
} | ||
/** | ||
* A helper Hook-like class to redirect taps to multiple other hooks | ||
* | ||
* ``` | ||
* const { MultiHook } = require("tapable"); | ||
* | ||
* this.hooks.allHooks = new MultiHook([this.hooks.hookA, this.hooks.hookB]); | ||
* ``` | ||
*/ | ||
export class MultiHook { | ||
constructor(hooks: Hook[]) | ||
} |
{ | ||
"name": "@types/tapable", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for tapable", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "a47b995915b5cd45fcb18fdde87a7db871631a8eea0129138f15419c35dad08e", | ||
"typesPublisherContentHash": "0adde5816005de8408960637011b12647305ead29fb6aa7b8be188322c3e08ef", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 10 Mar 2018 02:17:46 GMT | ||
* Last updated: Tue, 27 Mar 2018 18:51:52 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15186
270