UNPKG

@nestjs/common

Version:

Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.

12 lines (11 loc) • 507 B
export declare function extendArrayMetadata<T extends Array<unknown>>(key: string, metadata: T, target: Function): void; /** * Reads the args a param decorator at `index` adds to. An overriding method * starts from its parent's args, so the entry inherited at `index` is left out * and the override's decorator replaces it. * * @internal */ export declare function getParamArgsMetadata(metadataKey: string, target: object, key: string | symbol, index: number): Record<string, { index: number; }>;