util-helpers 5.7.3 → 5.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/VERSION.js
CHANGED
package/lib/VERSION.js
CHANGED
package/package.json
CHANGED
package/types/checkResult.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface CheckResult {
|
|
2
2
|
<P extends any[]>(fn: (...args: P) => Promise<any>, ...args: P): Promise<boolean>;
|
|
3
|
-
<P extends any[]>(fn: (...args: P) => any, ...args: P): Promise<boolean>;
|
|
4
|
-
(
|
|
3
|
+
<P extends any[]>(fn: ((...args: P) => any) | undefined, ...args: P): Promise<boolean>;
|
|
4
|
+
(...args: any[]): Promise<boolean>;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* 检查函数执行/值的结果。
|