mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +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