- Add experimentalDecorators and emitDecoratorMetadata to tsconfig.app.json - Configure useDefineForClassFields: false for proper class field handling - Add comprehensive type declarations for vue-facing-decorator@3.0.4 - Create global type declarations for Capacitor and DailyNotification plugin - Add reflect-metadata support for decorator functionality Enables proper TypeScript support for Class API components.
27 lines
749 B
JSON
27 lines
749 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
"exclude": ["src/**/__tests__/*"],
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2020",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"useDefineForClassFields": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"strict": false,
|
|
"noImplicitAny": false,
|
|
"noImplicitReturns": false,
|
|
"noImplicitThis": false,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
}
|
|
}
|