DigitalConsumer.FixMyGlass/tsconfig.json
Matt Sykes 90bc0a3684 Vue module augmentation and Convert main.js to main.ts
1. Vue module augmentation (src/shims-vue.d.ts)
*Added ComponentCustomProperties so this.$store is typed as Store<RootState> in components.
*Extended Window for $ and jQuery so the jQuery global assignment type-checks.
2. Convert main.js to main.ts
*Renamed main.js to main.ts.
*Removed the vue.config.js entry override so the Vue CLI TypeScript plugin uses main.ts.
*Updated jest.config.js to exclude main.ts from coverage.
*Adjusted the error handler to use unknown for err and vm to match Vue’s types.
*Added as unknown to the jQuery require for type safety.
2026-03-09 14:19:18 -04:00

21 lines
534 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "node",
"strict": false,
"noImplicitAny": false,
"strictNullChecks": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue"],
"exclude": ["node_modules", "dist", "playwright-tests"]
}