Files
DefinitelyTyped/apex.js/index.d.ts
Yoriki Yamaguchi 1af69c47fb fix type definition for package: apex.js (#13825)
* fix `export default` issue

* use `namespace` instead of (internal) `module`

* write it as an external module
2017-01-07 05:01:39 -08:00

11 lines
441 B
TypeScript

// Type definitions for apex.js 2.0
// Project: https://github.com/apex/node-apex
// Definitions by: Yoriki Yamaguchi <https://github.com/y13i>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="aws-lambda" />
declare function λ(fn: (event: any, context: AWSLambda.Context) => any): (event: any, context: AWSLambda.Context, callback: AWSLambda.Callback) => void;
declare namespace λ {}
export = λ;