UNPKG
app-walk
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
An intuitive guided walkthrough library with UI highlighting and voice narration for web apps.
app-walk
/
dist
/
utils
/
promisify.d.ts
3 lines
(2 loc)
•
212 B
TypeScript
View Raw
1
2
3
export
declare
function
wait
(
ms
:
number
):
Promise
<
void
>;
export
declare
function
promisify<T
extends
any
[], R>(
fn
:
(
...
args
: [...T, (err:
Error
|
null
, result?: R) =>
void
]
) =>
void
):
(
...
args
: T
) =>
Promise
<R>;