24 lines
809 B
JSON
24 lines
809 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"include": ["env.d.ts", "vite.d.ts", "src/**/*", "src/**/*.vue"],
|
|
"exclude": ["src/**/__tests__/*"],
|
|
"compilerOptions": {
|
|
// Extra safety for array and object lookups, but may have false positives.
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
// Path mapping for cleaner imports.
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@lib/*": ["./src/lib/*"],
|
|
"@views/*": ["./src/views/*"],
|
|
"@interfaces": ["./src/interfaces.ts"],
|
|
"@articles/*": ["./articles/*"],
|
|
"@components/*": ["./src/components/*"]
|
|
},
|
|
|
|
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
// Specified here to keep it out of the root directory.
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
}
|
|
}
|