diff --git a/src/configs/database.ts b/src/configs/database.ts index d53e2047..f21a6d6c 100644 --- a/src/configs/database.ts +++ b/src/configs/database.ts @@ -78,4 +78,7 @@ const envMikroORMConfig = { if (!envMikroORMConfig['development'] || Object.keys(envMikroORMConfig['development']).length === 0) envMikroORMConfig['development'] = envMikroORMConfig['production'] -export const mikroORMConfig = envMikroORMConfig as Required \ No newline at end of file +export const mikroORMConfig = envMikroORMConfig as { + production: typeof envMikroORMConfig['production'], + development: typeof envMikroORMConfig['production'] +} \ No newline at end of file