diff --git a/packages/tsc/tests/__snapshots__/dts.spec.ts.snap b/packages/tsc/tests/__snapshots__/dts.spec.ts.snap index ba0ec4346d..2ffcb71db3 100644 --- a/packages/tsc/tests/__snapshots__/dts.spec.ts.snap +++ b/packages/tsc/tests/__snapshots__/dts.spec.ts.snap @@ -26,7 +26,7 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v "declare const _default: (__VLS_props: { onBar?: (data: number) => any; foo: number; -} & import(\\"vue\\").VNodeProps & import(\\"vue\\").AllowedComponentProps & import(\\"vue\\").ComponentCustomProps, __VLS_ctx?: { +} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: { attrs: any; emit: (e: 'bar', data: number) => void; slots: Readonly<{ @@ -34,14 +34,14 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v foo: number; }): any; }>; -}, __VLS_expose?: (exposed: import(\\"vue\\").ShallowUnwrapRef<{ +}, __VLS_expose?: (exposed: import("vue").ShallowUnwrapRef<{ baz: number; }>) => void, __VLS_setup?: Promise<{ props: { onBar?: (data: number) => any; foo: number; - } & import(\\"vue\\").VNodeProps & import(\\"vue\\").AllowedComponentProps & import(\\"vue\\").ComponentCustomProps; - expose(exposed: import(\\"vue\\").ShallowUnwrapRef<{ + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; + expose(exposed: import("vue").ShallowUnwrapRef<{ baz: number; }>): void; attrs: any; @@ -51,15 +51,15 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v }): any; }>; emit: (e: 'bar', data: number) => void; -}>) => import(\\"vue\\").VNode) => import("vue").VNode & { __ctx?: { props: { onBar?: (data: number) => any; foo: number; - } & import(\\"vue\\").VNodeProps & import(\\"vue\\").AllowedComponentProps & import(\\"vue\\").ComponentCustomProps; - expose(exposed: import(\\"vue\\").ShallowUnwrapRef<{ + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; + expose(exposed: import("vue").ShallowUnwrapRef<{ baz: number; }>): void; attrs: any;