From 94faa8329a152b4e6c0aa7b5602c8d754b25b3d5 Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Sat, 2 Nov 2024 01:14:30 +0700 Subject: [PATCH] feat: remove any for autocomplete works with vscode autocomplete --- libs/skeleton/src/skeleton-crud.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {