UNPKG
@nodemate/sphero
Version:
latest (1.0.0)
1.0.0
Control Sphero Robot using NodeMate
github.com/NodeMate/sphero
NodeMate/sphero
@nodemate/sphero
/
lib
/
utils.d.ts
4 lines
(3 loc)
•
215 B
TypeScript
View Raw
1
2
3
4
export
declare
const
toPromise
:
(
fn
: (...args:
any
[]) =>
void
,
args
?:
any
[]
) =>
Promise
<{}>;
export
declare
const
wait
:
(
time
:
number
) =>
Promise
<{}>;
export
declare
const
combineFlags
:
(
flags
:
number
[]
) =>
number
;