UNPKG

@decorators/server

Version:

node decorators - decorators for express library

13 lines (12 loc) 581 B
import { ClassConstructor, MethodMetadata, ModuleMetadata, ParamMetadata } from '../types'; export declare class Reflector { getControllerMetadata(controller: ClassConstructor): { methods: MethodMetadata[]; pipes: [ClassConstructor, string?][]; options?: import("../types").ControllerOptions; url?: string; }; getMetadata(key: string, target: unknown, propertyKey?: string): any; getModuleMetadata(module: ClassConstructor): ModuleMetadata; getParamsMetadata(controller: ClassConstructor, methodName: string): ParamMetadata[]; }