Skip to content

feat(language-core): introduce options to control type inference of $attrs, $el, $refs and $slots #7626

feat(language-core): introduce options to control type inference of $attrs, $el, $refs and $slots

feat(language-core): introduce options to control type inference of $attrs, $el, $refs and $slots #7626

Triggered via pull request January 22, 2025 08:34
Status Failure
Total duration 1m 8s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: reference-type-props/component-destructure.vue, Output: reference-type-props/component-destructure.vue.d.ts: packages/tsc/tests/dts.spec.ts#L68
Error: Snapshot `vue-tsc-dts > Input: reference-type-props/component-destructure.vue, Output: reference-type-props/component-destructure.vue.d.ts 1` mismatched - Expected + Received "type __VLS_Props = { text: string; }; - declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>; + declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; " ❯ packages/tsc/tests/dts.spec.ts:68:66
build (18, ubuntu-latest)
Process completed with exit code 1.
build (18, windows-latest)
The job was canceled because "_18_ubuntu-latest" failed.
build (18, windows-latest)
The operation was canceled.
build (18, macos-latest)
The job was canceled because "_18_ubuntu-latest" failed.
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: reference-type-props/component-destructure.vue, Output: reference-type-props/component-destructure.vue.d.ts: packages/tsc/tests/dts.spec.ts#L68
Error: Snapshot `vue-tsc-dts > Input: reference-type-props/component-destructure.vue, Output: reference-type-props/component-destructure.vue.d.ts 1` mismatched - Expected + Received "type __VLS_Props = { text: string; }; - declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>; + declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; " ❯ packages/tsc/tests/dts.spec.ts:68:66
build (18, macos-latest)
The operation was canceled.
build (18, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636