From e40fc2dc5ece68440d0174b135335fd26915eb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Sat, 3 Jul 2021 21:30:48 +0800 Subject: [PATCH] chore: define process.env.PORT --- typings/global.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/global.d.ts b/typings/global.d.ts index c79b31c..22db89b 100644 --- a/typings/global.d.ts +++ b/typings/global.d.ts @@ -2,6 +2,7 @@ declare namespace NodeJS { interface ProcessEnv { readonly NODE_ENV: 'development' | 'production' + readonly PORT: string } }