@@ -12,9 +12,9 @@ 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? ( _ : {
15
+ default?: ( props : {
16
16
row: Row ;
17
- }): any ;
17
+ }) => any;
18
18
};
19
19
emit : {};
20
20
} >) => import("vue").VNode & {
@@ -99,13 +99,13 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v
99
99
}> ): void ;
100
100
attrs : any ;
101
101
slots : Readonly < {
102
- default? ( data : {
102
+ default?: ( props : {
103
103
foo: number ;
104
- }): any ;
104
+ }) => any;
105
105
}> & {
106
- default? ( data : {
106
+ default?: ( props : {
107
107
foo: number ;
108
- }): any ;
108
+ }) => any;
109
109
};
110
110
emit : ((e : " bar" , data : number ) => void ) & ((evt : " update:title" , value : string ) => void );
111
111
} >) => import("vue").VNode & {
@@ -133,13 +133,13 @@ exports[`vue-tsc-dts > Input: generic/custom-extension-component.cext, Output: g
133
133
}> ): void ;
134
134
attrs : any ;
135
135
slots : Readonly < {
136
- default? ( data : {
136
+ default?: ( props : {
137
137
foo: number ;
138
- }): any ;
138
+ }) => any;
139
139
}> & {
140
- default? ( data : {
140
+ default?: ( props : {
141
141
foo: number ;
142
- }): any ;
142
+ }) => any;
143
143
};
144
144
emit : ((e : " bar" , data : number ) => void ) & ((evt : " update:title" , value : string ) => void );
145
145
} >) => import("vue").VNode & {
@@ -605,12 +605,15 @@ declare var __VLS_3: {
605
605
num : number ;
606
606
str : string ;
607
607
} ;
608
- declare var __VLS_slots: {
609
- ' no-bind' ? (_ : typeof __VLS_0 ): any ;
610
- default ? (_ : typeof __VLS_1 ): any ;
611
- ' named-slot' ? (_ : typeof __VLS_2 ): any ;
612
- vbind ? (_ : typeof __VLS_3 ): any ;
613
- } ;
608
+ declare var __VLS_slots: __VLS_PrettifyGlobal<{ } & {
609
+ ' no-bind' ?: (props : typeof __VLS_0 ) => any ;
610
+ } & {
611
+ default ?: (props : typeof __VLS_1 ) => any ;
612
+ } & {
613
+ ' named-slot' ?: (props : typeof __VLS_2 ) => any ;
614
+ } & {
615
+ vbind ?: (props : typeof __VLS_3 ) => any ;
616
+ } >;
614
617
type __VLS_TemplateSlots = typeof __VLS_slots;
615
618
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>;
616
619
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateSlots >;
@@ -624,7 +627,7 @@ type __VLS_WithTemplateSlots<T, S> = T & {
624
627
`;
625
628
626
629
exports[`vue-tsc-dts > Input: template-slots/component-define-slots.vue, Output: template-slots/component-define-slots.vue.d.ts 1`] = `
627
- "import { VNode } from 'vue';
630
+ "import type { VNode } from 'vue';
628
631
declare const __VLS_slots: Readonly<{
629
632
default : (props : {
630
633
num: number ;
@@ -696,12 +699,15 @@ declare var __VLS_3: {
696
699
num : number ;
697
700
str : string ;
698
701
} ;
699
- declare var __VLS_slots: {
700
- ' no-bind' ? (_ : typeof __VLS_0 ): any ;
701
- default ? (_ : typeof __VLS_1 ): any ;
702
- ' named-slot' ? (_ : typeof __VLS_2 ): any ;
703
- vbind ? (_ : typeof __VLS_3 ): any ;
704
- } ;
702
+ declare var __VLS_slots: __VLS_PrettifyGlobal<{ } & {
703
+ ' no-bind' ?: (props : typeof __VLS_0 ) => any ;
704
+ } & {
705
+ default ?: (props : typeof __VLS_1 ) => any ;
706
+ } & {
707
+ ' named-slot' ?: (props : typeof __VLS_2 ) => any ;
708
+ } & {
709
+ vbind ?: (props : typeof __VLS_3 ) => any ;
710
+ } >;
705
711
type __VLS_TemplateSlots = typeof __VLS_slots;
706
712
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>;
707
713
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateSlots >;
0 commit comments