@elsevier/decorators
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

decorators

Build Status

A collection of TypeScript decorators

Enabling support in tsconfig.json

To enable support for decorators you will need to add "experimentalDecorators": true to your tsconfig.json file.

Available decorators

enumerable

Example:

import { enumerable } from '@elsevier/decorators';

class Example {
    private isValid: boolean = true;

    @enumerable
    get validity(): boolean {
        return this.isValid;
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @elsevier/decorators

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

7.65 kB

Total Files

15

Last publish

Collaborators

  • marcgrant
  • rafelse
  • macasilarce
  • jalalmiftah
  • abhinav.vaid
  • agnihotrir
  • tcogginse
  • rahmana4
  • ramyavadamalai
  • premrajeshkumarj
  • sahint1
  • shorner
  • vishalmariappan
  • vijikris08
  • ebenezerd
  • kgarner.els
  • frankvoorhoede
  • craggs
  • els-crogers
  • arash217
  • remcovoorhoede
  • dsprynsian
  • tseronisk
  • bcouston
  • matt-halliday
  • a.malahova
  • b.thomas.2
  • elisembr
  • oppiniated
  • overcaffed
  • trowm
  • mdavieselsevier
  • amynicolesmart
  • lizziecamp
  • tsangf
  • steve99and04
  • javierrey
  • sivag
  • leerose
  • elsevier_ecommerce_service
  • lixia66
  • charlie-martin-els
  • annacdo
  • andrew-snytko
  • jpaceels
  • markferrari-elsevier