diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-05 21:53:49 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-05 21:53:49 +0200 |
commit | 4d4e5cd4dca78480ec7f40e747f424cd107376a4 (patch) | |
tree | 1b132aab503751ae0f4c8ee6c7595ad2d65f3a50 /server/initializers/database.ts | |
parent | e02643f32e4c97ca307f8fc5b69be79c40d70a3b (diff) | |
download | PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.gz PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.zst PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.zip |
require -> import
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index c89a8b23c..b0f47876e 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import fs = require('fs') | 1 | import * as fs from 'fs' |
2 | import { join } from 'path' | 2 | import { join } from 'path' |
3 | import Sequelize = require('sequelize') | 3 | import * as Sequelize from 'sequelize' |
4 | 4 | ||
5 | import { CONFIG } from './constants' | 5 | import { CONFIG } from './constants' |
6 | // Do not use barrel, we need to load database first | 6 | // Do not use barrel, we need to load database first |