UNPKG

@bitblit/ratchet-epsilon-common

Version:

Tiny adapter to simplify building API gateway Lambda APIS

4 lines (3 loc) 213 B
import { Context } from 'aws-lambda'; import { ExtendedAPIGatewayEvent } from './extended-api-gateway-event.js'; export type HandlerFunction<T> = (event: ExtendedAPIGatewayEvent, context?: Context) => Promise<T>;