chore: define process.env.PORT

This commit is contained in:
草鞋没号 2021-07-03 21:30:48 +08:00
parent 10c30fb9c1
commit e40fc2dc5e

1
typings/global.d.ts vendored
View File

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