From ce61935ac80e1cd10c47defee0fdebba6da2a322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Dal=C3=A9n?= Date: Fri, 20 Apr 2018 19:38:45 +0200 Subject: [PATCH] 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 --- types/aws-lambda-mock-context/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/aws-lambda-mock-context/index.d.ts b/types/aws-lambda-mock-context/index.d.ts index 6fc5fda67a..b5a3768f2d 100644 --- a/types/aws-lambda-mock-context/index.d.ts +++ b/types/aws-lambda-mock-context/index.d.ts @@ -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; }