Skip to content

Remove ensureGlobalTypesHolder #6607

Remove ensureGlobalTypesHolder

Remove ensureGlobalTypesHolder #6607

Triggered via push August 28, 2024 22:52
Status Failure
Total duration 1m 38s
Artifacts

test.yml

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

Annotations

12 errors
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: #4577/main.vue, Output: #4577/main.vue.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: #4577/main.vue, Output: #4577/main.vue.d.ts 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ }> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps); expose(exposed: import("vue").ShallowUnwrapRef<{}>): void; attrs: any; slots: { default?(_: { - row: Row; + row: any; }): any; }; emit: {}; }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; ❯ packages/tsc/tests/dts.spec.ts:62:66
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: events/component-class.vue, Output: events/component-class.vue.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: events/component-class.vue, Output: events/component-class.vue.d.ts 1` mismatched - Expected + Received - "declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - foo: (value: string) => void; - }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & { - onFoo?: (value: string) => any; - }, {}, {}>; + "declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}>; export default _default; " ❯ packages/tsc/tests/dts.spec.ts:62:66
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: events/component-generic.vue, Output: events/component-generic.vue.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: events/component-generic.vue, Output: events/component-generic.vue.d.ts 1` mismatched - Expected + Received @@ -1,11 +1,7 @@ "declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ - props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{ - onFoo?: (value: string) => any; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & { - onFoo?: (value: string) => any; - }, never>, "onFoo"> & {}> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps); + props: __VLS_PrettifyLocal<any & {}> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps); expose(exposed: import("vue").ShallowUnwrapRef<{}>): void; attrs: any; slots: {}; emit: (evt: "foo", value: string) => void; }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { ❯ packages/tsc/tests/dts.spec.ts:62:66
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts 1` mismatched - Expected + Received @@ -1,13 +1,7 @@ "declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ - props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{ - "onUpdate:title"?: (title: string) => any; - onBar?: (data: number) => any; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & { - "onUpdate:title"?: (title: string) => any; - onBar?: (data: number) => any; - }, never>, "onUpdate:title" | "onBar"> & ({ + props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, never>, never> & ({ title?: string; } & { foo: number; })> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps); expose(exposed: import("vue").ShallowUnwrapRef<{ ❯ packages/tsc/tests/dts.spec.ts:62:66
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: generic/custom-extension-component.cext, Output: generic/custom-extension-component.cext.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: generic/custom-extension-component.cext, Output: generic/custom-extension-component.cext.d.ts 1` mismatched - Expected + Received @@ -1,13 +1,7 @@ "declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ - props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{ - "onUpdate:title"?: (title: string) => any; - onBar?: (data: number) => any; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & { - "onUpdate:title"?: (title: string) => any; - onBar?: (data: number) => any; - }, never>, "onUpdate:title" | "onBar"> & ({ + props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, never>, never> & ({ title?: string; } & { foo: number; })> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps); expose(exposed: import("vue").ShallowUnwrapRef<{ ❯ packages/tsc/tests/dts.spec.ts:62:66
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: reference-type-events/component.vue, Output: reference-type-events/component.vue.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: reference-type-events/component.vue, Output: reference-type-events/component.vue.d.ts 1` mismatched - Expected + Received - "declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - foo: (data?: { - foo: string; - }) => void; - bar: (value: { - arg1: number; - arg2?: any; - }) => void; - baz: () => void; - }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & { - onFoo?: (data?: { - foo: string; - }) => any; - onBar?: (value: { - arg1: number; - arg2?: any; - }) => any; - onBaz?: () => any; - }, {}, {}>; + "declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}>; export default _default; " ❯ packages/tsc/tests/dts.spec.ts:62:66
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: reference-type-model/component.vue, Output: reference-type-model/component.vue.d.ts: packages/tsc/tests/dts.spec.ts#L62
Error: Snapshot `vue-tsc-dts > Input: reference-type-model/component.vue, Output: reference-type-model/component.vue.d.ts 1` mismatched - Expected + Received @@ -2,19 +2,11 @@ "foo"?: number; "bar"?: string[]; "qux"?: string; quxModifiers?: Record<'lazy' | 'trim', true>; }; - declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:foo": (foo: number) => void; - "update:bar": (bar: string[]) => void; - "update:qux": (qux: string) => void; - }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & { - "onUpdate:foo"?: (foo: number) => any; - "onUpdate:bar"?: (bar: string[]) => any; - "onUpdate:qux"?: (qux: string) => any; - }, {}, {}>; + declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; ❯ packages/tsc/tests/dts.spec.ts:62:66
build (18, macos-latest)
Process completed with exit code 1.
build (18, windows-latest)
The job was canceled because "_18_macos-latest" failed.
build (18, windows-latest)
The operation was canceled.
build (18, ubuntu-latest)
The job was canceled because "_18_macos-latest" failed.
build (18, ubuntu-latest)
The operation was canceled.