refactor: simplify tsconfig.json by removing unnecessary compiler options and ensuring proper structure

This commit is contained in:
keven1024
2026-04-05 10:16:34 +08:00
parent 7f74441f5d
commit 72ca69330f

View File

@@ -1,12 +1,4 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
// Other options...
"lib": [
// Other libs...
// Add this! Doing so adds WebWorker and ServiceWorker types to the global.
"webworker"
],
},
}
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
}