Skip to content

fix(language-core): avoid unchecked index access when parsing defineEmits #7225

fix(language-core): avoid unchecked index access when parsing defineEmits

fix(language-core): avoid unchecked index access when parsing defineEmits #7225

Triggered via pull request December 5, 2024 09:41
Status Failure
Total duration 1m 9s
Artifacts

test.yml

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

Annotations

23 errors
build (18, macos-latest)
Expression expected.",
build (18, macos-latest)
Expression expected.",
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)
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
build (18, macos-latest)
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
build (18, macos-latest)
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
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 @@ -4,6 +4,9 @@ "test-workspace/tsc/failureFixtures/#3632/script.vue(3,1): error TS1109: Expression expected.", "test-workspace/tsc/failureFixtures/#3632/scriptSetup.vue(3,1): error TS1109: Expression expected.", "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/#5027/main.vue(2,14): error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", + "test-workspace/tsc/passedFixtures/vue3/#5027/main.vue(2,14): error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", + "test-workspace/tsc/passedFixtures/vue3/#5027/main.vue(2,14): error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", ] ❯ packages/tsc/tests/typecheck.spec.ts:10:5
build (18, macos-latest)
Process completed with exit code 1.
build (18, ubuntu-latest)
The job was canceled because "_18_macos-latest" failed.
build (18, ubuntu-latest)
Expression expected.",
build (18, ubuntu-latest)
Expression expected.",
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)
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
build (18, ubuntu-latest)
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
build (18, ubuntu-latest)
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
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 @@ -4,6 +4,9 @@ "test-workspace/tsc/failureFixtures/#3632/script.vue(3,1): error TS1109: Expression expected.", "test-workspace/tsc/failureFixtures/#3632/scriptSetup.vue(3,1): error TS1109: Expression expected.", "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/#5027/main.vue(2,14): error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", + "test-workspace/tsc/passedFixtures/vue3/#5027/main.vue(2,14): error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", + "test-workspace/tsc/passedFixtures/vue3/#5027/main.vue(2,14): error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", ] ❯ packages/tsc/tests/typecheck.spec.ts:10:5
build (18, ubuntu-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.