From 5f603610a5252b7557ec94d0003469701b49a3a6 Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Wed, 3 Apr 2024 11:16:32 +0200 Subject: [PATCH] fix(schema): document use case for `typescript.shim` (#26607) --- packages/schema/src/config/typescript.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/schema/src/config/typescript.ts b/packages/schema/src/config/typescript.ts index 95e074d602..21e36a4be2 100644 --- a/packages/schema/src/config/typescript.ts +++ b/packages/schema/src/config/typescript.ts @@ -79,6 +79,9 @@ export default defineUntypedSchema({ * * We recommend instead letting the [official Vue extension](https://marketplace.visualstudio.com/items?itemName=Vue.volar) * generate accurate types for your components. + * + * Note that if you may wish to set this to `true` if you are using other libraries, such as ESLint, + * that are unable to understand the type of `.vue` files. */ shim: false }