feat: enable stricter typescript compiler options

This commit is contained in:
2024-01-05 11:55:15 +01:00
parent 7e779b738e
commit 33181941ba
58 changed files with 185 additions and 138 deletions

24
packages/logger/environment.d.ts vendored Normal file
View File

@@ -0,0 +1,24 @@
declare global {
namespace NodeJS {
interface ProcessEnv {
/**
* If set to true, invalid smtp configs will not throw an error
*/
ALLOW_NO_TRANSPORT?: 'true' | string;
SMTP_AUTH_USER?: string;
SMTP_AUTH_PASSWORD?: string;
SMTP_SENDER_MAIL?: string;
SMTP_SENDER_NAME?: string;
SMTP_HOST?: string;
SMTP_PORT?: string;
SMTP_CC?: string;
SMTP_RECIPIENTS?: string;
SMTP_SECURE?: 'true' | string;
STAPPS_LOG_LEVEL?: string;
STAPPS_EXIT_LEVEL?: string;
NODE_ENV?: string;
}
}
}
export {};