Skip to content

Commit

Permalink
Update dts.spec.ts.snap
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Dec 5, 2023
1 parent e8982d3 commit 991cf5b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/tsc/tests/__snapshots__/dts.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v
"declare const _default: <T>(__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<{
default?(data: {
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;
Expand All @@ -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\\").RendererNode, import(\\"vue\\").RendererElement, {
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
__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;
Expand Down

0 comments on commit 991cf5b

Please sign in to comment.