diff --git a/packages/core/index.d.ts b/packages/core/index.d.ts index 25b27f4b0..0315e482d 100644 --- a/packages/core/index.d.ts +++ b/packages/core/index.d.ts @@ -56,6 +56,7 @@ export interface MiddlewareObj< before?: MiddlewareFn after?: MiddlewareFn onError?: MiddlewareFn + name?: string } // The AWS provided Handler type uses void | Promise so we have no choice but to follow and suppress the linter warning