forked from trent_larson/crowd-funder-for-time-pwa
fix(types): resolve TypeScript any type violations
- Replace any types in ProfileService with AxiosErrorResponse interface - Add type-safe error URL extraction method - Fix Leaflet icon type assertion using Record<string, unknown> - Enhance AxiosErrorResponse interface with missing properties - Maintain existing functionality while improving type safety Closes typing violations in ProfileService.ts and AccountViewView.vue
This commit is contained in:
@@ -60,9 +60,13 @@ export interface AxiosErrorResponse {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
status?: number;
|
||||
statusText?: string;
|
||||
config?: unknown;
|
||||
};
|
||||
config?: unknown;
|
||||
config?: {
|
||||
url?: string;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user