Installation

Installation

$ npm i tynamo --save
$ npm i reflect-metadata --save

Enable decorators and reflect-metata on your tsconfig.json :

tsconfig.js
{
    "types": ["reflect-metadata"],
    "compilerOptions": {
        "experimentalDecorators": true
        "emitDecoratorMetadata": true
         ...
     }
     ...
}

And import reflect-metadata once, your entry file.

main.ts
import "reflect-metadata";
...

Last updated

Was this helpful?