Noisy Pneumatic Mnemonic

    @jable/deprecated
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    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);
        }
    }

    Install

    npm i @jable/deprecated

    DownloadsWeekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • cpamperin
    • jable