forked from jsnbuchanan/crowd-funder-for-time-pwa
Fix TypeScript any type warnings in Vue components
Replace generic 'any' types with specific type definitions: - EntitySummaryButton: Define edit-requested event payload type - GiftDetailsStep: Add proper types for edit-entity and submit events - HomeView: Use GiftedDialog type for customDialog ref Resolves 7 TypeScript linting warnings, improves type safety
This commit is contained in:
@@ -123,7 +123,10 @@ export default class EntitySummaryButton extends Vue {
|
||||
// Emit methods using @Emit decorator
|
||||
|
||||
@Emit("edit-requested")
|
||||
emitEditRequested(data: any): any {
|
||||
emitEditRequested(data: {
|
||||
entityType: string;
|
||||
entity: EntityData | Contact | null;
|
||||
}): { entityType: string; entity: EntityData | Contact | null } {
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user