UNPKG

typescript-libraries

Version:
42 lines (41 loc) 847 B
import 'reflect-metadata'; export declare let performance: any; /** * Log instance of a class * * @example @TSLogClass * * @param target * @constructor */ export declare function TSLogClass(target: Function): any; /** * Log and measure performance of a function * * @example @TSLogMethod * * @param target * @param key * @param descriptor * @constructor */ export declare function TSLogMethod(target: any, key: string, descriptor: PropertyDescriptor): PropertyDescriptor; /** * Log property state * * @example @TSLogProperty * * @param target * @param key * @constructor */ export declare function TSLogProperty(target: any, key: string): void; /** * Log factory that automatically detect kind signature * * @example @TSLog * * @param args * @constructor */ export declare function TSLog(...args: Array<any>): void;