feat(test-app): configure TypeScript for vue-facing-decorator compatibility

- 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.
This commit is contained in:
Matthew Raymer
2025-10-16 13:05:45 +00:00
parent 791a0635ba
commit 7805aef198
4 changed files with 119 additions and 0 deletions

View File

@@ -4,9 +4,21 @@
"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/*"]
}