aboutsummaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/BaseModel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/BaseModel.ts b/lib/models/BaseModel.ts
index 8fba5e5..6e0d0e5 100644
--- a/lib/models/BaseModel.ts
+++ b/lib/models/BaseModel.ts
@@ -1,6 +1,6 @@
import { Model } from 'sequelize';
-export abstract class BaseModel<A, B> extends Model<A, B> {
+export abstract class BaseModel<A extends {}, B extends {}> extends Model<A, B> {
/**
* The date when the row was created.
*/