UNPKG
@upv/ushi-shared
Version:
latest (2.4.0)
2.4.0
2.3.0
2.2.0
2.1.1
2.1.0
2.0.0
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
@upv/ushi-shared
/
dist
/
utils
/
wrapHandler.d.ts
5 lines
(4 loc)
•
245 B
TypeScript
View Raw
1
2
3
4
5
import
type
{
APIGatewayProxyEvent
,
APIGatewayProxyResultV
2 }
from
'aws-lambda'
;
type
HandlerFn
=
(
event
:
APIGatewayProxyEvent
) =>
Promise
<
APIGatewayProxyResultV
2>;
export
declare
const
wrapHandler
:
(
handler
:
HandlerFn
) =>
HandlerFn
;
export
{};