@cumulusds/flow-aws-lambda
v1.0.0
Published
Flow types for AWS Lambda functions
Downloads
1,500
Maintainers
Keywords
Readme
flow-aws-lambda
Flow type definitions for AWS Lambda and API Gateway.
Since lambda function interface itself is not a npm library you cannot use Flow npm type definitions (https://github.com/flowtype/flow-typed)
But it's still very usefull and convinient to have types for objects which lambda operates on.
Taken and adopted from TypeScript https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda
Usage
import type {APIGatewayEvent, Context, ProxyCallback} from 'flow-aws-lambda'