fix(language-core): should error when invalid syntax at script end #6561
Annotations
10 errors
build (18, windows-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
|
build (18, windows-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
|
build (18, windows-latest)
Unused '@ts-expect-error' directive.",
|
build (18, windows-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
|
build (18, windows-latest)
Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
|
build (18, windows-latest)
Unused '@ts-expect-error' directive.",
|
build (18, windows-latest)
Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.
|
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/#3632/main.vue(2,13): error TS1109: Expression expected.",
+ "test-workspace/tsc/failureFixtures/#3632/main.vue(2,14): error TS1109: Expression expected.",
"test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
"test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.",
]
❯ packages/tsc/tests/typecheck.spec.ts:10:5
|
packages/tsc/tests/typecheck.spec.ts > vue-tsc > TypeScript - Next:
packages/tsc/tests/typecheck.spec.ts#L23
Error: Snapshot `vue-tsc > TypeScript - Next 1` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
[
- "test-workspace/tsc/failureFixtures/#3632/main.vue(2,13): error TS1109: Expression expected.",
+ "test-workspace/tsc/failureFixtures/#3632/main.vue(2,14): error TS1109: Expression expected.",
"test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
"test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.",
"test-workspace/tsc/passedFixtures/#3373/tsconfig.json(4,3): error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.
Use 'verbatimModuleSyntax' instead.",
❯ packages/tsc/tests/typecheck.spec.ts:23:5
|
build (18, windows-latest)
Process completed with exit code 1.
|