@boost/decorators
Version:
Experimental decorators for common patterns.
7 lines • 353 B
TypeScript
/**
* A decorator that marks a class declaration, class method,
* class property, or method parameter as deprecated by
* logging a deprecation message to the console.
*/
export declare function Deprecate(message?: string): (target: Function | Object, property?: string | symbol, descriptor?: unknown) => void;
//# sourceMappingURL=Deprecate.d.ts.map