From dfc6c33c8a467e38ff7ad70e1cf661b9f8aadc42 Mon Sep 17 00:00:00 2001 From: will Farrell Date: Thu, 2 Jan 2025 17:42:51 -0700 Subject: [PATCH] fix: remove option types --- packages/cloudformation-response/index.d.ts | 4 +--- packages/cloudformation-response/index.test-d.ts | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/cloudformation-response/index.d.ts b/packages/cloudformation-response/index.d.ts index 5476fdd41..95d6904ee 100644 --- a/packages/cloudformation-response/index.d.ts +++ b/packages/cloudformation-response/index.d.ts @@ -1,7 +1,5 @@ import middy from '@middy/core' -interface Options {} - -declare function cloudformationResponse (options?: Options): middy.MiddlewareObj +declare function cloudformationResponse (): middy.MiddlewareObj export default cloudformationResponse diff --git a/packages/cloudformation-response/index.test-d.ts b/packages/cloudformation-response/index.test-d.ts index c52b2154e..b9d16f8af 100644 --- a/packages/cloudformation-response/index.test-d.ts +++ b/packages/cloudformation-response/index.test-d.ts @@ -1,5 +1,6 @@ import { expectType } from 'tsd' import middy from '@middy/core' + import cloudformationResponse from '.' // use with default options