mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-18 01:36:37 +08:00
fix(types): 添加dotEnv类型的非空判断
This commit is contained in:
parent
54577f10fc
commit
cff11d9175
2
build/env/index.ts
vendored
2
build/env/index.ts
vendored
@ -2,4 +2,4 @@ import dotenv from 'dotenv';
|
|||||||
|
|
||||||
const { parsed: viteEnv } = dotenv.config(); // 加载环境
|
const { parsed: viteEnv } = dotenv.config(); // 加载环境
|
||||||
|
|
||||||
export default viteEnv;
|
export default viteEnv!;
|
||||||
|
Loading…
Reference in New Issue
Block a user