UNPKG

@shockpkg/core

Version:
19 lines (18 loc) 746 B
/** * Decorate property with defaults. * * @param enumerable Is enumerable * @param configurable Is configurable * @param writable Is writable * @return Decorator function. */ export declare function property(enumerable?: boolean, configurable?: boolean, writable?: boolean): (_target: any, _key: string | symbol, descriptor?: PropertyDescriptor | undefined) => void; /** * Decorate method with defaults. * * @param enumerable Is enumerable * @param configurable Is configurable * @param writable Is writable * @return Decorator function. */ export declare function method(enumerable?: boolean, configurable?: boolean, writable?: boolean): (_target: any, _key: string | symbol, descriptor?: PropertyDescriptor | undefined) => void;