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:
Matthew Raymer
2025-07-05 03:08:12 +00:00
parent 993aa005fa
commit 3585290872
3 changed files with 14 additions and 4 deletions

View File

@@ -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;
}
}