@@ -12,7 +12,7 @@ declare const _default: <Row extends BaseRow>(__VLS_props: NonNullable<Awaited<t
12
12
expose (exposed : import (" vue" ).ShallowUnwrapRef < {}> ): void ;
13
13
attrs : any ;
14
14
slots : {
15
- default?: (props : {
15
+ readonly default?: (props : {
16
16
row: Row ;
17
17
}) => any;
18
18
};
@@ -594,7 +594,8 @@ export {};
594
594
`;
595
595
596
596
exports[`vue-tsc-dts > Input: template-slots/component.vue, Output: template-slots/component.vue.d.ts 1`] = `
597
- "declare var __VLS_0: { } ;
597
+ "declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => { } >>;
598
+ declare var __VLS_0: { } ;
598
599
declare var __VLS_1: {
599
600
num : number ;
600
601
} ;
@@ -605,16 +606,17 @@ declare var __VLS_3: {
605
606
num : number ;
606
607
str : string ;
607
608
} ;
608
- declare var __VLS_slots: __VLS_PrettifyGlobal<{ } & {
609
+ declare var __VLS_slots: __VLS_PrettifyGlobal<__VLS_OmitStringIndex< typeof __VLS_ctx.$slots> & Readonly< {
609
610
' no-bind' ?: (props: typeof __VLS_0) => any;
610
611
} & {
611
612
default ?: (props : typeof __VLS_1 ) => any ;
612
613
} & {
613
614
' named-slot' ?: (props : typeof __VLS_2 ) => any ;
614
615
} & {
615
616
vbind ?: (props : typeof __VLS_3 ) => any ;
616
- } >;
617
+ } >> ;
617
618
type __VLS_TemplateSlots = typeof __VLS_slots;
619
+ declare const __VLS_self: import("vue").DefineComponent<{ } , { } , { } , { } , { } , import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { } , string, import("vue").PublicProps, Readonly<{ } > & Readonly<{ } >, { } , { } , { } , { } , string, import("vue").ComponentProvideOptions, true, { } , any>;
618
620
declare const __VLS_component: import("vue").DefineComponent<{ } , { } , { } , { } , { } , import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { } , string, import("vue").PublicProps, Readonly<{ } > & Readonly<{ } >, { } , { } , { } , { } , string, import("vue").ComponentProvideOptions, true, { } , any>;
619
621
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateSlots >;
620
622
export default _default;
@@ -688,7 +690,8 @@ type __VLS_WithTemplateSlots<T, S> = T & {
688
690
`;
689
691
690
692
exports[`vue-tsc-dts > Input: template-slots/component-no-script.vue, Output: template-slots/component-no-script.vue.d.ts 1`] = `
691
- "declare var __VLS_0: { } ;
693
+ "declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => { } >>;
694
+ declare var __VLS_0: { } ;
692
695
declare var __VLS_1: {
693
696
num : number ;
694
697
} ;
@@ -699,16 +702,17 @@ declare var __VLS_3: {
699
702
num : number ;
700
703
str : string ;
701
704
} ;
702
- declare var __VLS_slots: __VLS_PrettifyGlobal<{ } & {
705
+ declare var __VLS_slots: __VLS_PrettifyGlobal<__VLS_OmitStringIndex< typeof __VLS_ctx.$slots> & Readonly< {
703
706
' no-bind' ?: (props: typeof __VLS_0) => any;
704
707
} & {
705
708
default ?: (props : typeof __VLS_1 ) => any ;
706
709
} & {
707
710
' named-slot' ?: (props : typeof __VLS_2 ) => any ;
708
711
} & {
709
712
vbind ?: (props : typeof __VLS_3 ) => any ;
710
- } >;
713
+ } >> ;
711
714
type __VLS_TemplateSlots = typeof __VLS_slots;
715
+ declare const __VLS_self: import("vue").DefineComponent<{ } , { } , { } , { } , { } , import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { } , string, import("vue").PublicProps, Readonly<{ } > & Readonly<{ } >, { } , { } , { } , { } , string, import("vue").ComponentProvideOptions, true, { } , any>;
712
716
declare const __VLS_component: import("vue").DefineComponent<{ } , { } , { } , { } , { } , import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { } , string, import("vue").PublicProps, Readonly<{ } > & Readonly<{ } >, { } , { } , { } , { } , string, import("vue").ComponentProvideOptions, true, { } , any>;
713
717
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateSlots >;
714
718
export default _default;
0 commit comments