fix(language-core): avoid unchecked index access when parsing defineEmits
#7225
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.
|