@middy/core 6.4.0 → 6.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -68,7 +68,6 @@ export interface MiddyHandlerObject {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
// The AWS provided Handler type uses void | Promise<TResult> so we have no choice but to follow and suppress the linter warning
|
|
71
|
-
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
72
71
|
type MiddyInputHandler<
|
|
73
72
|
TEvent,
|
|
74
73
|
TResult,
|
|
@@ -77,7 +76,7 @@ type MiddyInputHandler<
|
|
|
77
76
|
event: TEvent,
|
|
78
77
|
context: TContext,
|
|
79
78
|
opts: MiddyHandlerObject,
|
|
80
|
-
) => undefined | Promise<TResult> | TResult;
|
|
79
|
+
) => undefined | Promise<TResult> | TResult;
|
|
81
80
|
type MiddyInputPromiseHandler<
|
|
82
81
|
TEvent,
|
|
83
82
|
TResult,
|