fix main process env bug

This commit is contained in:
yi-ge
2021-07-08 22:44:44 +08:00
parent 72f4b11854
commit 0d0037e889
2 changed files with 2 additions and 1 deletions

2
typings/global.d.ts vendored
View File

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