mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-24 12:56:22 +00:00
feat: remove any for autocomplete works with vscode autocomplete
This commit is contained in:
parent
2c62d2a077
commit
94faa8329a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user