@nestjs/microservices
Version:
Microservices for NestJS: message and event handlers over Kafka, RabbitMQ, NATS, Redis, MQTT, gRPC or TCP.
12 lines (11 loc) • 520 B
TypeScript
/**
* 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.
*
* A copy of the helper of `@nestjs/common`, kept here so that this package
* does not depend on a newer `@nestjs/common` than the one installed.
*/
export declare function getParamArgsMetadata(metadataKey: string, target: object, key: string | symbol, index: number): Record<string, {
index: number;
}>;