feat(language-core): enhance single root nodes collection #6987
Annotations
8 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
Object literal may only specify known properties, and 'foo' does not exist in type '{} & VNodeProps & AllowedComponentProps & ComponentCustomProps'.",
|
Run pnpm run test:
packages/tsc/tests/typecheck.spec.ts#L10
Error: Snapshot `vue-tsc > TypeScript - Stable 1` mismatched
- Expected
+ Received
@@ -4,6 +4,7 @@
"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/fallthroughAttributes_strictTemplate/fallthroughComponentTag/main.vue(6,9): error TS2353: Object literal may only specify known properties, and 'foo' does not exist in type '{} & VNodeProps & AllowedComponentProps & ComponentCustomProps'.",
]
❯ packages/tsc/tests/typecheck.spec.ts:10:5
|
Run pnpm run test
Process completed with exit code 1.
|
Loading