Comparing version 2.0.0-beta.9 to 2.0.0-beta.10
@@ -17,3 +17,3 @@ /* | ||
result | ||
)};\n} else {\n${next()}}\n`, | ||
)}\n} else {\n${next()}}\n`, | ||
resultReturns, | ||
@@ -20,0 +20,0 @@ onDone |
{ | ||
"name": "tapable", | ||
"version": "2.0.0-beta.9", | ||
"version": "2.0.0-beta.10", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Just a little module for plugins.", |
@@ -23,3 +23,4 @@ type FixedSizeArray<T extends number, U> = T extends 0 | ||
type Callback<E, T> = (error?: E, result?: T) => void; | ||
type Callback<E, T> = (error: E | null, result?: T) => void; | ||
type InnerCallback<E, T> = (error?: E | null | false, result?: T) => void; | ||
@@ -70,3 +71,3 @@ type Tap = TapOptions & { | ||
options: string | Tap, | ||
fn: (...args: Append<AsArray<T>, Callback<Error, R>>) => void | ||
fn: (...args: Append<AsArray<T>, InnerCallback<Error, R>>) => void | ||
): void; | ||
@@ -73,0 +74,0 @@ tapPromise( |
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
44972
1210