refactor(types): 从 'vue' 重新导出 Slot 和 Slots 类型
更新自动生成的类型声明文件,以包含 Vue 的 Slot 和 Slots 类型,确保类型完整性并支持模板中的插槽类型检查。
Showing
2 changed files
with
1 additions
and
1 deletions
This diff is collapsed. Click to expand it.
| ... | @@ -71,6 +71,6 @@ declare global { | ... | @@ -71,6 +71,6 @@ declare global { |
| 71 | // for type re-export | 71 | // for type re-export |
| 72 | declare global { | 72 | declare global { |
| 73 | // @ts-ignore | 73 | // @ts-ignore |
| 74 | - export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' | 74 | + export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' |
| 75 | import('vue') | 75 | import('vue') |
| 76 | } | 76 | } | ... | ... |
-
Please register or login to post a comment