aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Level.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/Level.ts
parent914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff)
downloadtanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip
convert to esm
Diffstat (limited to 'src/lib/models/Level.ts')
-rw-r--r--src/lib/models/Level.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/models/Level.ts b/src/lib/models/Level.ts
index 6499bff..f1083fc 100644
--- a/src/lib/models/Level.ts
+++ b/src/lib/models/Level.ts
@@ -1,6 +1,8 @@
import { type Snowflake } from 'discord.js';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+
+const { DataTypes } = (await import('sequelize')).default
export interface LevelModel {
user: Snowflake;