UNPKG
@hopeio/utils
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
javascript utils
github.com/hopeio/diamond
hopeio/diamond
@hopeio/utils
/
dist
/
compatible
/
errCatch.d.ts
4 lines
(3 loc)
•
202 B
TypeScript
View Raw
1
2
3
4
export
declare
function
errCatch1
(
asyncFunc
:
Function
):
Promise
<
any
[]>;
export
declare
function
errCatch2
(
asyncFunc
:
Function
):
any
[];
export
declare
function
errCatch
(
asyncFunc
:
Function
): [
any
,
any
];