refactor: inject process.env.NODE_ENV

This commit is contained in:
草鞋没号 committed 2021-07-10 08:51:15 +08:00
1 parent c94327f87d
commit 66cb0b6abd
2 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production'
readonly NODE_ENV: 'development' | 'production'
readonly PORT: string
}
}