docs: remove vue from the example when skipLibCheck needs to be enabled (#16162)

This commit is contained in:
翠 / green 2024-03-14 21:56:16 +09:00 committed by GitHub
parent 98888439e0
commit 1574f3565d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ It is because `esbuild` only performs transpilation without type information, it
You must set `"isolatedModules": true` in your `tsconfig.json` under `compilerOptions`, so that TS will warn you against the features that do not work with isolated transpilation.
However, some libraries (e.g. [`vue`](https://github.com/vuejs/core/issues/1228)) don't work well with `"isolatedModules": true`. You can use `"skipLibCheck": true` to temporarily suppress the errors until it is fixed upstream.
If a dependency doesn't work well with `"isolatedModules": true`. You can use `"skipLibCheck": true` to temporarily suppress the errors until it is fixed upstream.
#### `useDefineForClassFields`