test(tsc): test all typecheck cases in one tsconfig #6498
Annotations
5 errors
|
|
Unused '@ts-expect-error' directive.
|
packages/tsc/tests/typecheck.spec.ts#L25
Error: Snapshot `vue-tsc > typecheck 1` mismatched
- Expected
+ Received
[
- "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 ..., {}>'.
-
- 4 {{ notExist }}
- ~~~~~~~~
-
+ "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 ..., {}>'.
-
- 9 {{ notExist }}
- ~~~~~~~~
-
+ "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.
-
- 12 <!-- @vue-expect-error -->
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- ",
- "
- Found 3 errors.
-
+ "test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.
",
]
❯ packages/tsc/tests/typecheck.spec.ts:25:25
|
|
The logs for this run have expired and are no longer available.
Loading