refactor: no-inferrable-types

This commit is contained in:
Tibo De Peuter 2025-03-23 13:22:39 +01:00
parent e1aba11222
commit e84c772916
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
14 changed files with 22 additions and 18 deletions

View file

@ -11,7 +11,7 @@ interface EnvVar {
defaultValue?: number | string | boolean;
}
export const envVars: { [key: string]: EnvVar } = {
export const envVars: Record<string, EnvVar> = {
Port: { key: PREFIX + 'PORT', defaultValue: 3000 },
DbHost: { key: DB_PREFIX + 'HOST', required: true },
DbPort: { key: DB_PREFIX + 'PORT', defaultValue: 5432 },