Make all options optional (#25160)

The package uses `Object.assign` and  has default values, so these are all optional: https://github.com/SamVerschueren/aws-lambda-mock-context/blob/master/index.js#L11-L18
This commit is contained in:
Erik Dalén 2018-04-20 19:38:45 +02:00 committed by Ryan Cavanaugh
parent f38bda6988
commit ce61935ac8

View File

@ -26,10 +26,10 @@ interface Context {
}
interface Options {
region: string;
account: string;
functionName: string;
functionVersion: string;
memoryLimitInMB: string;
region?: string;
account?: string;
functionName?: string;
functionVersion?: string;
memoryLimitInMB?: string;
alias?: string;
}