mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
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:
parent
f38bda6988
commit
ce61935ac8
10
types/aws-lambda-mock-context/index.d.ts
vendored
10
types/aws-lambda-mock-context/index.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user