nowjs-core
Version:
NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence
16 lines (15 loc) • 1.19 kB
TypeScript
import 'reflect-metadata';
export declare function deprecated(message?: string): (instance: any, name: string, descriptor: any) => any;
export declare function deprecateInNextVersion(message?: string): (instance: any, name: string, descriptor: any) => any;
export declare function readonly<TFunction extends Function>(Target: TFunction): TFunction;
export declare function timeout(milliseconds?: number): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
export declare function logProperty(target: any, key: string): void;
export declare function sealed(constructor: Function): void;
export declare function enumerable(value: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export declare function configurable(value: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export declare function format(formatString: string): {
(target: Function): void;
(target: Object, propertyKey: string | symbol): void;
};
export declare function getFormat(target: any, propertyKey: string): any;
export declare function override(instance: any, name: string, descriptor: any): void;