11// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22
3+ exports [` vue-tsc-dts > Input: #4577/main.vue, Output: #4577/main.vue.d.ts 1` ] = `
4+ "export type BaseRow = {
5+ value : string ;
6+ } ;
7+ declare const _default: <Row extends BaseRow >(__VLS_props: NonNullable<Awaited<typeof __VLS_setup >>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup >>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
8+ props : __VLS_Prettify < Pick < Partial < {}> & Omit < {} & import (" vue" ).VNodeProps & import (" vue" ).AllowedComponentProps & import (" vue" ).ComponentCustomProps & Readonly < import (" vue" ).ExtractPropTypes < {}>> , never > , never > & {
9+ nonGeneric: string ;
10+ rows : Row [];
11+ }> & (import (" vue" ).VNodeProps & import (" vue" ).AllowedComponentProps & import (" vue" ).ComponentCustomProps );
12+ expose (exposed : import (" vue" ).ShallowUnwrapRef < {}> ): void ;
13+ attrs : any ;
14+ slots : ReturnType < () => {
15+ default ? (_ : {
16+ row: Row ;
17+ }): any ;
18+ }> ;
19+ emit : {};
20+ } >) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21+ [key : string ]: any ;
22+ } > & {
23+ __ctx ?: Awaited < typeof __VLS_setup > ;
24+ } ;
25+ export default _default;
26+
27+ type __VLS_Prettify<T > = {
28+ [K in keyof T ]: T [K ];
29+ } & { } ;
30+ "
31+ `;
32+
333exports[`vue-tsc-dts > Input: class-slots/component.vue, Output: class-slots/component.vue.d.ts 1`] = `
434"import { VNode } from 'vue';
535declare const _default: new () => {
@@ -39,12 +69,12 @@ export default _default;
3969`;
4070
4171exports[`vue-tsc-dts > Input: events/component-generic.vue, Output: events/component-generic.vue.d.ts 1`] = `
42- "declare const _default: <T >(__VLS_props: Awaited<typeof __VLS_setup >["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup >, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
72+ "declare const _default: <T >(__VLS_props: NonNullable< Awaited<typeof __VLS_setup >> ["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable< Awaited<typeof __VLS_setup > >, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
4373 props : __VLS_Prettify < Pick < Partial < {}> & Omit < {
4474 onFoo?: (value : string ) => any;
4575 } & import (" vue" ).VNodeProps & import (" vue" ).AllowedComponentProps & import (" vue" ).ComponentCustomProps & Readonly < import (" vue" ).ExtractPropTypes < {}>> & {
4676 onFoo?: (value : string ) => any;
47- }, never > , " onFoo" > & {}> & __VLS_BuiltInPublicProps ;
77+ }, never > , " onFoo" > & {}> & ( import ( " vue " ). VNodeProps & import ( " vue " ). AllowedComponentProps & import ( " vue " ). ComponentCustomProps ) ;
4878 expose (exposed : import (" vue" ).ShallowUnwrapRef < {}> ): void ;
4979 attrs : any ;
5080 slots : ReturnType < () => {}> ;
@@ -62,7 +92,7 @@ type __VLS_Prettify<T> = {
6292`;
6393
6494exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts 1`] = `
65- "declare const _default: <T >(__VLS_props: Awaited<typeof __VLS_setup >["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup >, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
95+ "declare const _default: <T >(__VLS_props: NonNullable< Awaited<typeof __VLS_setup >> ["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable< Awaited<typeof __VLS_setup > >, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
6696 props : __VLS_Prettify < Pick < Partial < {}> & Omit < {
6797 "onUpdate:title " ?: (title: string) => any;
6898 onBar ?: (data : number ) => any ;
@@ -73,7 +103,7 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v
73103 title?: string;
74104 } & {
75105 foo: number ;
76- })> & __VLS_BuiltInPublicProps ;
106+ })> & ( import ( " vue " ). VNodeProps & import ( " vue " ). AllowedComponentProps & import ( " vue " ). ComponentCustomProps ) ;
77107 expose (exposed : import (" vue" ).ShallowUnwrapRef < {
78108 baz: number ;
79109 }> ): void ;
@@ -101,7 +131,7 @@ type __VLS_Prettify<T> = {
101131`;
102132
103133exports[`vue-tsc-dts > Input: generic/custom-extension-component.cext, Output: generic/custom-extension-component.cext.d.ts 1`] = `
104- "declare const _default: <T >(__VLS_props: Awaited<typeof __VLS_setup >["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup >, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
134+ "declare const _default: <T >(__VLS_props: NonNullable< Awaited<typeof __VLS_setup >> ["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable< Awaited<typeof __VLS_setup > >, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup >>["expose"], __VLS_setup?: Promise<{
105135 props : __VLS_Prettify < Pick < Partial < {}> & Omit < {
106136 "onUpdate:title " ?: (title: string) => any;
107137 onBar ?: (data : number ) => any ;
@@ -112,7 +142,7 @@ exports[`vue-tsc-dts > Input: generic/custom-extension-component.cext, Output: g
112142 title?: string;
113143 } & {
114144 foo: number ;
115- })> & __VLS_BuiltInPublicProps ;
145+ })> & ( import ( " vue " ). VNodeProps & import ( " vue " ). AllowedComponentProps & import ( " vue " ). ComponentCustomProps ) ;
116146 expose (exposed : import (" vue" ).ShallowUnwrapRef < {
117147 baz: number ;
118148 }> ): void ;
0 commit comments