This commit is contained in:
2024-10-28 16:16:53 +05:00
parent 77aabed207
commit d6809ff538
30 changed files with 1250 additions and 658 deletions
+18
View File
@@ -0,0 +1,18 @@
// interface ProcessEnv {
// readonly PORT: number;
// readonly MONGO_URI: string;
// readonly JWT_SECRET: string;
// readonly JWT_ACCESS_EXP: string;
// readonly JWT_REFRESH_EXP: string;
// }
declare namespace NodeJS {
interface ProcessEnv {
readonly PORT: number;
readonly MONGO_URI: string;
readonly JWT_SECRET: string;
readonly JWT_ACCESS_EXP: string;
readonly JWT_REFRESH_EXP: string;
// add more environment variables and their types here
}
}