Skip to content

fix(language-core): correct type inference of defineModel & defineEmits in generic #6893

fix(language-core): correct type inference of defineModel & defineEmits in generic

fix(language-core): correct type inference of defineModel & defineEmits in generic #6893

Re-run triggered September 7, 2024 08:22
Status Cancelled
Total duration 53s
Artifacts

test.yml

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

Annotations

17 errors
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)
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
build (18, ubuntu-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
build (18, ubuntu-latest)
Unused '@ts-expect-error' directive.",
build (18, ubuntu-latest)
Parameter 'e' implicitly has an 'any' type.",
build (18, ubuntu-latest)
Argument of type 'any' is not assignable to parameter of type 'never'.",
packages/tsc/tests/typecheck.spec.ts > vue-tsc > TypeScript - Stable: packages/tsc/tests/typecheck.spec.ts#L10
Error: Snapshot `vue-tsc > TypeScript - Stable 1` mismatched - Expected + Received [ "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", "test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", + "test-workspace/tsc/passedFixtures/vue3/#3615/main.vue(9,25): error TS7006: Parameter 'e' implicitly has an 'any' type.", + "test-workspace/tsc/passedFixtures/vue3/#3615/main.vue(9,41): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.", ] ❯ packages/tsc/tests/typecheck.spec.ts:10:5
build (18, ubuntu-latest)
The operation was canceled.
build (18, macos-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
build (18, macos-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
build (18, macos-latest)
Unused '@ts-expect-error' directive.",
build (18, macos-latest)
Parameter 'e' implicitly has an 'any' type.",
build (18, macos-latest)
Argument of type 'any' is not assignable to parameter of type 'never'.",
packages/tsc/tests/typecheck.spec.ts > vue-tsc > TypeScript - Stable: packages/tsc/tests/typecheck.spec.ts#L10
Error: Snapshot `vue-tsc > TypeScript - Stable 1` mismatched - Expected + Received [ "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", "test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", + "test-workspace/tsc/passedFixtures/vue3/#3615/main.vue(9,25): error TS7006: Parameter 'e' implicitly has an 'any' type.", + "test-workspace/tsc/passedFixtures/vue3/#3615/main.vue(9,41): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.", ] ❯ packages/tsc/tests/typecheck.spec.ts:10:5
build (18, macos-latest)
Process completed with exit code 1.