UNPKG
@botol/dipo
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
## Simple Composite controller
botolear/dipo
@botol/dipo
/
build
/
handler.d.ts
4 lines
(3 loc)
•
218 B
TypeScript
View Raw
1
2
3
4
import
{
Context
}
from
'./context'
;
export
declare
type
HandlerReturn
=
void
|
Promise
<
void
>;
export
declare
type
Handler
<T
extends
Context
=
Context
, R =
HandlerReturn
> =
(
ctx
: T,
next
: () =>
HandlerReturn
) =>
R;