upd
This commit is contained in:
Vendored
+18
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user