Branch | Build Status | Coverage Status | Vulnerabilities |
---|---|---|---|
Master |
npm install ts-decorators --save-dev
# or
yarn add ts-decorators
You also need to set experimentalDecorators and emitDecoratorMetadata to true into the tsconfig.json file.
For example:
{
"compilerOptions": {
...
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
...
}
}