Skip to content

Commit

Permalink
fix(types): 添加dotEnv类型的非空判断
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Nov 23, 2021
1 parent 54577f1 commit cff11d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/env/index.ts
Expand Up @@ -2,4 +2,4 @@ import dotenv from 'dotenv';

const { parsed: viteEnv } = dotenv.config(); // 加载环境

export default viteEnv;
export default viteEnv!;

1 comment on commit cff11d9

@vercel
Copy link

@vercel vercel bot commented on cff11d9 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.