diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 17:35:32 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 17:35:32 +0200 |
commit | 127944aacb52721877449a1f202dc0add866ef39 (patch) | |
tree | 73ac935c7dfc73dca92d15ed52266e40ba9af57a /server/models/application.ts | |
parent | 294f80f21e8a77d25f6fb5f0f26887fb4618ee2e (diff) | |
download | PeerTube-127944aacb52721877449a1f202dc0add866ef39.tar.gz PeerTube-127944aacb52721877449a1f202dc0add866ef39.tar.zst PeerTube-127944aacb52721877449a1f202dc0add866ef39.zip |
Better models define typing
Diffstat (limited to 'server/models/application.ts')
-rw-r--r-- | server/models/application.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/application.ts b/server/models/application.ts index 14b87777a..55bb40d84 100644 --- a/server/models/application.ts +++ b/server/models/application.ts | |||
@@ -13,7 +13,7 @@ let Application: Sequelize.Model<ApplicationInstance, ApplicationAttributes> | |||
13 | let loadMigrationVersion: ApplicationMethods.LoadMigrationVersion | 13 | let loadMigrationVersion: ApplicationMethods.LoadMigrationVersion |
14 | let updateMigrationVersion: ApplicationMethods.UpdateMigrationVersion | 14 | let updateMigrationVersion: ApplicationMethods.UpdateMigrationVersion |
15 | 15 | ||
16 | export default function defineApplication (sequelize: Sequelize.Sequelize, DataTypes) { | 16 | export default function defineApplication (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
17 | Application = sequelize.define<ApplicationInstance, ApplicationAttributes>('Application', | 17 | Application = sequelize.define<ApplicationInstance, ApplicationAttributes>('Application', |
18 | { | 18 | { |
19 | migrationVersion: { | 19 | migrationVersion: { |