aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/BaseModel.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
commit13894f2beffc776a56ac03868613b4313dfb57bf (patch)
tree028c229b42c2a74a3c511386f594385d3ed77dd5 /src/lib/models/BaseModel.ts
parent914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff)
downloadtanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip
convert to esm
Diffstat (limited to 'src/lib/models/BaseModel.ts')
-rw-r--r--src/lib/models/BaseModel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/models/BaseModel.ts b/src/lib/models/BaseModel.ts
index 8fba5e5..e503317 100644
--- a/src/lib/models/BaseModel.ts
+++ b/src/lib/models/BaseModel.ts
@@ -1,4 +1,4 @@
-import { Model } from 'sequelize';
+const { Model } = (await import('sequelize')).default;
export abstract class BaseModel<A, B> extends Model<A, B> {
/**