UNPKG
@anew/hooks
Version:
latest (0.1.1)
0.1.1
0.1.0
AnewJS React Hooks
@anew/hooks
/
types
/
batch.d.ts
7 lines
(6 loc)
•
198 B
TypeScript
View Raw
1
2
3
4
5
6
7
interface
Batch
{ <c
extends
(...
args
:
any
) =>
any
>(
callback
: c):
void
; }
export
declare
const
setBatch
:
(
newBatch
:
Batch
) =>
Batch
;
export
declare
const
getBatch
:
() =>
Batch
;
export
{};