diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-01 15:40:31 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-01 15:40:31 -0400 |
commit | 13894f2beffc776a56ac03868613b4313dfb57bf (patch) | |
tree | 028c229b42c2a74a3c511386f594385d3ed77dd5 /src/lib/models/Stat.ts | |
parent | 914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff) | |
download | tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2 tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip |
convert to esm
Diffstat (limited to 'src/lib/models/Stat.ts')
-rw-r--r-- | src/lib/models/Stat.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/models/Stat.ts b/src/lib/models/Stat.ts index a6e8f19..c5f02b8 100644 --- a/src/lib/models/Stat.ts +++ b/src/lib/models/Stat.ts @@ -1,6 +1,8 @@ -import { DataTypes, type Sequelize } from 'sequelize'; -import { BaseModel } from './BaseModel'; -import { jsonBigint } from './__helpers'; +import { type Sequelize } from 'sequelize'; +import { BaseModel } from './BaseModel.js'; +import { jsonBigint } from './__helpers.js'; + +const { DataTypes } = (await import('sequelize')).default type Environment = 'production' | 'development' | 'beta'; |