fix(types): 添加dotEnv类型的非空判断

This commit is contained in:
Soybean 2021-11-24 00:51:33 +08:00
parent 54577f10fc
commit cff11d9175

2
build/env/index.ts vendored
View File

@ -2,4 +2,4 @@ import dotenv from 'dotenv';
const { parsed: viteEnv } = dotenv.config(); // 加载环境
export default viteEnv;
export default viteEnv!;