UNPKG

@zerooneit/expressive-tea

Version:
18 lines (17 loc) 1.19 kB
import 'reflect-metadata'; export default class Metadata { static get(key: string, target: any, propertyKey?: string | symbol): any; static getOwn(key: string, target: any, propertyKey?: string | symbol): any; static getType(target: any, propertyKey?: string | symbol): any; static getOwnType(target: any, propertyKey?: string | symbol): any; static getReturnType(target: any, propertyKey?: string | symbol): any; static getOwnReturnType(target: any, propertyKey?: string | symbol): any; static has(key: string, target: any, propertyKey?: string | symbol): boolean; static hasOwn(key: string, target: any, propertyKey?: string | symbol): boolean; static setParamTypes(target: any, propertyKey: string | symbol, value: any): void; static delete(key: string, target: any, propertyKey?: string | symbol): boolean; static getTargetsFromPropertyKey: (metadataKey: string | symbol) => any[]; static set(key: string, value: any, target: any, propertyKey?: string | symbol): void; static getParamTypes(targetPrototype: any, propertyKey?: string | symbol): any[]; static getOwnParamTypes(target: any, propertyKey?: string | symbol): any[]; }