Skip to content

Commit

Permalink
docs: 优化 element-plus.d.ts 文件注释
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed May 12, 2023
1 parent bc7dae8 commit 362ce6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/element-plus.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/** Copy https://github.com/element-plus/element-plus/blob/dev/global.d.ts#L2 */
/**
* Copy https://github.com/element-plus/element-plus/blob/dev/global.d.ts
* 为了解决某些依赖(比如 vxe-table 4.2.7-beta.0 ~ 4.3.11 和 vue-router 4.2.0)导致的没有 Element Plus 组件类型提示的问题
*/

declare module 'vue' {
export interface GlobalComponents {
Expand Down

0 comments on commit 362ce6e

Please sign in to comment.