mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
* fix `export default` issue * use `namespace` instead of (internal) `module` * write it as an external module
11 lines
441 B
TypeScript
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 = λ;
|