flow-aws-lambda

Flow types for AWS Lambda functions

Usage no npm install needed!

<script type="module">
  import flowAwsLambda from 'https://cdn.skypack.dev/flow-aws-lambda';
</script>

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'