Skip to content

Commit

Permalink
test: pin TS version and update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Dec 2, 2024
1 parent 3034c44 commit 31d1484
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
16 changes: 4 additions & 12 deletions packages/tsc/tests/__snapshots__/dts.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ declare const _default: <Row extends BaseRow>(__VLS_props: NonNullable<Awaited<t
}): any;
};
emit: {};
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
Expand Down Expand Up @@ -76,9 +74,7 @@ exports[`vue-tsc-dts > Input: events/component-generic.vue, Output: events/compo
attrs: any;
slots: {};
emit: (evt: "foo", value: string) => void;
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
Expand Down Expand Up @@ -112,9 +108,7 @@ exports[`vue-tsc-dts > Input: generic/component.vue, Output: generic/component.v
}): any;
};
emit: ((e: "bar", data: number) => void) & ((evt: "update:title", value: string) => void);
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
Expand Down Expand Up @@ -148,9 +142,7 @@ exports[`vue-tsc-dts > Input: generic/custom-extension-component.cext, Output: g
}): any;
};
emit: ((e: "bar", data: number) => void) & ((evt: "update:title", value: string) => void);
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
Expand Down
11 changes: 9 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-workspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.1.10",
"devDependencies": {
"typescript-next": "npm:[email protected]",
"typescript-stable": "npm:typescript@latest",
"typescript-stable": "npm:typescript@~5.6.0",
"vue": "^3.5.0",
"vue-component-type-helpers": "2.1.10",
"vue2": "npm:[email protected]",
Expand Down

0 comments on commit 31d1484

Please sign in to comment.