UNPKG

@opra/nestjs

Version:

Opra NestJS module

15 lines (14 loc) 519 B
import type { Type } from '@nestjs/common'; /** * Utility class for Opra-NestJS integration. */ export declare class OpraNestUtils { /** * Copies Opra-related decorator metadata from source classes to a target class. * Also merges NestJS guards, interceptors, and exception filters. * * @param target - The target class to receive the metadata. * @param source - The source classes to copy metadata from. */ static copyDecoratorMetadata(target: Type, ...source: Type[]): void; }