@types/tapable
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -250,5 +250,5 @@ // Type definitions for tapable v1.0.0 | ||
fn: TapFunction<TTapType, TArg1, TArg2, TArg3, THookResult>; | ||
stage?: number; | ||
context?: boolean; | ||
before?: string | string[]; | ||
stage?: number | undefined; | ||
context?: boolean | undefined; | ||
before?: string | string[] | undefined; | ||
} | ||
@@ -258,21 +258,21 @@ | ||
name: string; | ||
stage?: number; | ||
context?: boolean; | ||
before?: string | string[]; | ||
stage?: number | undefined; | ||
context?: boolean | undefined; | ||
before?: string | string[] | undefined; | ||
} & ( | ||
TTapType extends "sync" ? { | ||
type?: "sync"; | ||
fn?: TapFunction<"sync", TArg1, TArg2, TArg3, THookResult>; | ||
type?: "sync" | undefined; | ||
fn?: TapFunction<"sync", TArg1, TArg2, TArg3, THookResult> | undefined; | ||
} : | ||
TTapType extends "async" ? { | ||
type?: "async"; | ||
fn?: TapFunction<"async", TArg1, TArg2, TArg3, THookResult>; | ||
type?: "async" | undefined; | ||
fn?: TapFunction<"async", TArg1, TArg2, TArg3, THookResult> | undefined; | ||
} : | ||
TTapType extends "promise" ? { | ||
type?: "promise"; | ||
fn?: TapFunction<"promise", TArg1, TArg2, TArg3, THookResult>; | ||
type?: "promise" | undefined; | ||
fn?: TapFunction<"promise", TArg1, TArg2, TArg3, THookResult> | undefined; | ||
} : | ||
{ | ||
type?: TTapType; | ||
fn?: TapFunction<TTapType, TArg1, TArg2, TArg3, THookResult>; | ||
type?: TTapType | undefined; | ||
fn?: TapFunction<TTapType, TArg1, TArg2, TArg3, THookResult> | undefined; | ||
} | ||
@@ -310,7 +310,7 @@ ); | ||
export class HookInterceptor { | ||
call?: (...args: any[]) => void; | ||
loop?: (...args: any[]) => void; | ||
tap?: (tap: Tap) => void; | ||
register?: (tap: Tap) => Tap | undefined; | ||
context?: boolean; | ||
call?: ((...args: any[]) => void) | undefined; | ||
loop?: ((...args: any[]) => void) | undefined; | ||
tap?: ((tap: Tap) => void) | undefined; | ||
register?: ((tap: Tap) => Tap | undefined) | undefined; | ||
context?: boolean | undefined; | ||
} | ||
@@ -317,0 +317,0 @@ |
{ | ||
"name": "@types/tapable", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "TypeScript definitions for tapable", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tapable", | ||
"license": "MIT", | ||
@@ -27,4 +28,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "062eb93177f00ada0b449447e4107f87c471ff177ab02871540f7ee1f11b75f9", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "14ebc399c2b0cbceb7a2266ba4eff57b8eaeb39dafafa3b208ec3a10fd3ccc47", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 25 Mar 2021 20:32:08 GMT | ||
* Last updated: Fri, 02 Jul 2021 21:32:11 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
17910
0
0