diff --git a/libs/skeleton/src/skeleton-crud.controller.ts b/libs/skeleton/src/skeleton-crud.controller.ts index 92a579d..031b08a 100644 --- a/libs/skeleton/src/skeleton-crud.controller.ts +++ b/libs/skeleton/src/skeleton-crud.controller.ts @@ -84,7 +84,7 @@ export class SkeletonCRUDController implements ISkeletonCRUDController { // - Using environment variable is possible to set in the decorator and been tested but... it could lead to human error and more issue than using this which already automated and configured // Known issue: // - OpenAPI ( Swagger ) cannot read any decorator inside this -export const CustomCRUDController = (options?: ControllerOption): any => { +export const CustomCRUDController = (options?: ControllerOption) => { const uniqueIdentifier = `${options?.uniqueIdentifier ?? 'id'}`; class WrapperCRUDController extends SkeletonCRUDController {