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