mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-22 03:16:21 +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
|
// - 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:
|
// Known issue:
|
||||||
// - OpenAPI ( Swagger ) cannot read any decorator inside this
|
// - OpenAPI ( Swagger ) cannot read any decorator inside this
|
||||||
export const CustomCRUDController = (options?: ControllerOption): any => {
|
export const CustomCRUDController = (options?: ControllerOption) => {
|
||||||
const uniqueIdentifier = `${options?.uniqueIdentifier ?? 'id'}`;
|
const uniqueIdentifier = `${options?.uniqueIdentifier ?? 'id'}`;
|
||||||
|
|
||||||
class WrapperCRUDController extends SkeletonCRUDController {
|
class WrapperCRUDController extends SkeletonCRUDController {
|
||||||
|
Loading…
Reference in New Issue
Block a user