Skip to content

Commit

Permalink
fix(schema): document use case for typescript.shim (#26607)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerey committed Apr 3, 2024
1 parent 9bb8976 commit 5f60361
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/schema/src/config/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5f60361

Please sign in to comment.