feat: continue Priority 1 any type fixes

- Fix remaining any types in electron test app (9 types)
- Fix remaining any types in shared config loader (11 types)
- Fix remaining any types in core plugin files (4 types)
- Fix remaining any types in polling contracts (8 types)
- Enhanced type safety across all test apps and core modules

Linting status:  0 errors, 292 warnings (down from 436 warnings)
Priority 1 progress: 144 warnings fixed (33% reduction)
Any types remaining: 76 (down from 113, 37% reduction)
This commit is contained in:
Matthew Raymer
2025-10-07 07:33:54 +00:00
parent 7b4caef5a7
commit 7bfa919f56
8 changed files with 39 additions and 39 deletions

View File

@@ -687,7 +687,7 @@ export interface CoordinationReport {
timestamp: number;
activeDid?: string;
authUsed: boolean;
platformSpecific?: Record<string, any>;
platformSpecific?: Record<string, unknown>;
}
/**

View File

@@ -271,7 +271,7 @@ export class DailyNotificationWeb implements DailyNotificationPlugin {
/**
* Get dual schedule status (web implementation)
*/
async getDualScheduleStatus(): Promise<any> {
async getDualScheduleStatus(): Promise<Record<string, unknown>> {
return {
contentFetch: {
isEnabled: false,
@@ -327,7 +327,7 @@ export class DailyNotificationWeb implements DailyNotificationPlugin {
/**
* Get content cache (web implementation)
*/
async getContentCache(): Promise<Record<string, any>> {
async getContentCache(): Promise<Record<string, unknown>> {
return {}; // Mock empty cache
}
@@ -341,7 +341,7 @@ export class DailyNotificationWeb implements DailyNotificationPlugin {
/**
* Get content history (web implementation)
*/
async getContentHistory(): Promise<any[]> {
async getContentHistory(): Promise<Record<string, unknown>[]> {
return []; // Mock empty history
}