refactor: inject process.env.NODE_ENV
This commit is contained in:
2
typings/global.d.ts
vendored
2
typings/global.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
NODE_ENV: 'development' | 'production'
|
||||
readonly NODE_ENV: 'development' | 'production'
|
||||
readonly PORT: string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user