diff --git a/packages/tsc/tests/typecheck.spec.ts b/packages/tsc/tests/typecheck.spec.ts index fb26d60854..3b95b9cbd0 100644 --- a/packages/tsc/tests/typecheck.spec.ts +++ b/packages/tsc/tests/typecheck.spec.ts @@ -12,7 +12,6 @@ describe(`vue-tsc`, () => { "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins & Readonly<{}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.", "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins & Readonly<{}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.", "test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", - "test-workspace/tsc/passedFixtures/vue3_strictTemplate/#3718/main.vue(2,2): error TS2578: Unused '@ts-expect-error' directive.", ] `); }); @@ -27,7 +26,6 @@ describe(`vue-tsc`, () => { "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.", - "test-workspace/tsc/passedFixtures/vue3_strictTemplate/#3718/main.vue(2,2): error TS2578: Unused '@ts-expect-error' directive.", ] `); }); diff --git a/test-workspace/tsc/passedFixtures/vue3_strictTemplate/#3718/main.vue b/test-workspace/tsc/passedFixtures/vue3.4_strictTemplate/#3718/main.vue similarity index 100% rename from test-workspace/tsc/passedFixtures/vue3_strictTemplate/#3718/main.vue rename to test-workspace/tsc/passedFixtures/vue3.4_strictTemplate/#3718/main.vue diff --git a/test-workspace/tsc/passedFixtures/vue3.4_strictTemplate/tsconfig.json b/test-workspace/tsc/passedFixtures/vue3.4_strictTemplate/tsconfig.json new file mode 100644 index 0000000000..1fc7765200 --- /dev/null +++ b/test-workspace/tsc/passedFixtures/vue3.4_strictTemplate/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../../tsconfig.base.json", + "vueCompilerOptions": { + "target": 3.3, + "lib": "vue3.4", + "strictTemplates": true, + }, + "include": [ "**/*" ], +}