UNPKG

@nestjs/websockets

Version:

WebSockets for NestJS: gateways with message handlers, guards, pipes and interceptors, on Socket.IO or ws.

12 lines (11 loc) • 520 B
/** * 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; }>;