@jable/deprecated
v2.0.0
Published
Deprecated class and method decorators
Downloads
5
Readme
deprecated
Logs a warning to the console for deprecated classes and methods
Example
@DeprecatedClass() // Logs on instantiation
class Deprecated {
@DeprecatedMethod() // Logs on call
public test(value: string) {
console.log(value);
}
}