UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

6 lines (5 loc) 219 B
import { Context } from 'aws-lambda'; import { ExtendedAPIGatewayEvent } from './extended-api-gateway-event'; export interface HandlerFunction<T> { (event: ExtendedAPIGatewayEvent, context?: Context): Promise<T>; }