Merge pull request #15468 from moskalyk/master

Updated export method to properly export context() function
This commit is contained in:
Nathan Shively-Sanders
2017-03-29 09:34:29 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
import { context } from "aws-lambda-mock-context";
import context = require("aws-lambda-mock-context");
import * as Alexa from "alexa-sdk";
const launchRequestJson: any = {
+2 -2
View File
@@ -5,6 +5,8 @@
declare function context(options?: Options): Context;
export = context;
interface Context {
Promise: Promise<any>;
callbackWaitsForEmptyEventLoop: boolean;
@@ -30,5 +32,3 @@ interface Options {
memoryLimitInMB: string;
alias?: string;
}
export { context };