Skip to content

Commit

Permalink
Update tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tachibana-shin authored Sep 26, 2023
1 parent fc097fe commit ed15be8
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
{
"compilerOptions": {
/* bypass check node_modules */
"allowJs": true,
// `baseUrl` must be placed on the extending configuration in devland, or paths won't be recognized
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
// Needed to address https://github.com/quasarframework/app-extension-typescript/issues/36
"noEmit": true,
"resolveJsonModule": true,
// Avoid cross-os errors due to inconsistent file casing
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
"isolatedModules": true,
"useDefineForClassFields": true,
// Fix Volar issue https://github.com/johnsoncodehk/volar/issues/1153
"jsx": "preserve",
"lib": ["esnext", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"preserveSymlinks": true,
"noEmitOnError": false,
"baseUrl": "./",
"lib": ["ESNext"],
/* Bundler mode */
// "allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
"declarationDir": "./dist/",
// "noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"noFallthroughCasesInSwitch": true,
"types": ["vitest/globals", "vite/client"]
"types": ["vitest/globals", "vite/client", "@types/node"]
}
}

0 comments on commit ed15be8

Please sign in to comment.