fix(language-core): avoid unchecked index access when parsing defineEmits
#7225
Annotations
11 errors
|
Run pnpm run test
Expression expected.",
|
Run pnpm run test
Expression expected.",
|
Run pnpm run test
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
|
Run pnpm run test
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
|
Run pnpm run test
Unused '@ts-expect-error' directive.",
|
Run pnpm run test
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
Run pnpm run test
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
Run pnpm run test
Call signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
Run pnpm run test:
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
|
Run pnpm run test
Process completed with exit code 1.
|
Loading