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:
@@ -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/*"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user