Added some fixxes for typeorm entities

ref #3
This commit is contained in:
Nicolai Ort 2020-11-24 21:10:50 +01:00
parent 40d7d44730
commit 8791bed4f9
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import express from 'express';
import consola from 'consola';
import * as jwt from 'jsonwebtoken';
import { createConnection } from 'typeorm';
import 'reflect-metadata';
dotenvSafe.config();
const app = express();

View File

@ -5,6 +5,8 @@
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true,
"strict": true
"strict": true,
"experimentalDecorators": true,
"emitDecoratorMetadata":true
}
}