@shockpkg/core
Version:
shockpkg core
19 lines (18 loc) • 754 B
TypeScript
/**
* Decorate property with defaults.
*
* @param enumerable Is enumerable.
* @param configurable Is configurable.
* @param writable Is writable.
* @returns 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.
* @returns Decorator function.
*/
export declare function method(enumerable?: boolean, configurable?: boolean, writable?: boolean): (_target: any, _key: string | symbol, descriptor?: PropertyDescriptor | undefined) => void;