mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
fix(types): 添加dotEnv类型的非空判断
This commit is contained in:
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(); // 加载环境
|
||||
|
||||
export default viteEnv;
|
||||
export default viteEnv!;
|
||||
|
Reference in New Issue
Block a user