UNPKG

@nestjs/common

Version:

Nest - modern, fast, powerful node.js web framework (@common)

10 lines (9 loc) 451 B
/** * Assigns the metadata to the class/function under specified `key`. * This metadata can be reflected using `Reflector` class. */ export declare const SetMetadata: <K = any, V = any>(metadataKey: K, metadataValue: V) => (target: object, key?: any, descriptor?: any) => any; /** * @deprecated */ export declare const ReflectMetadata: <K = any, V = any>(metadataKey: K, metadataValue: V) => (target: object, key?: any, descriptor?: any) => any;