refactor: no-inferrable-types
This commit is contained in:
parent
e1aba11222
commit
e84c772916
14 changed files with 22 additions and 18 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue