UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

9 lines (8 loc) 428 B
import { Type } from '@nestjs/common'; /** * Adds a DTO and all registered nested manual DTO children to an accumulator. * @param {Array<Type<unknown>>} target - DTO accumulator. * @param {Array<Type<unknown>> | Type<unknown>} dto - DTO or DTO list to add. * @returns {void} */ export declare function ApiRouteCollectDtoWithRegisteredChildren(target: Array<Type<unknown>>, dto: Array<Type<unknown>> | Type<unknown>): void;