Skip to content

Commit

Permalink
fix(projects): 修复import.meta.env的TS类型
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Aug 3, 2022
1 parent dbd6760 commit 1994262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/typings/package.d.ts
@@ -1,3 +1,4 @@
/// <reference types="vite/client" />
/// <reference types="@amap/amap-jsapi-types" />
/// <reference types="bmapgl" />

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -17,7 +17,7 @@
"~/*": ["./*"],
"@/*": ["./src/*"]
},
"types": ["node", "vite/client", "naive-ui/volar"]
"types": ["node", "naive-ui/volar"]
},
"exclude": ["node_modules", "dist"]
}

1 comment on commit 1994262

@vercel
Copy link

@vercel vercel bot commented on 1994262 Aug 3, 2022

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.