feat: complete Priority 2 console ignores and return types - outstanding progress

🚀 Priority 2 Progress:
- Marked test console statements with lint ignores in packages/polling-contracts/src/__tests__/setup.ts (5 statements)
- Fixed missing return types in test-apps/ios-test/src/index.ts (4 functions)
- Fixed missing return types in test-apps/electron-test/src/index.ts (4 functions)
- Enhanced type safety in test apps with proper return type annotations

Console statements: 25 remaining (down from 44, 43% reduction)
Return types: 19 remaining (down from 62, 69% reduction)

Linting status:  0 errors, 97 warnings (down from 436 warnings)
Total improvement: 339 warnings fixed (78% reduction)
Priority 2: Outstanding progress - approaching completion!
This commit is contained in:
Matthew Raymer
2025-10-07 09:20:32 +00:00
parent bb010db732
commit 9389d53059
3 changed files with 13 additions and 8 deletions

View File

@@ -480,7 +480,7 @@ class TimeSafariElectronTestApp {
}
}
private async testSchedule() {
private async testSchedule(): Promise<void> {
try {
this.log('Testing TimeSafari Electron community notification scheduling...');
const config = this.configLoader.getConfig();
@@ -496,11 +496,11 @@ class TimeSafariElectronTestApp {
retryAttempts: 3,
retryDelay: 5000,
callbacks: {
onSuccess: async (data: Record<string, unknown>) => {
onSuccess: async (data: Record<string, unknown>): Promise<void> => {
this.log('✅ Content fetch successful', data);
await this.processEndorserNotificationBundle(data);
},
onError: async (error: Record<string, unknown>) => {
onError: async (error: Record<string, unknown>): Promise<void> => {
this.log('❌ Content fetch failed', error);
}
}
@@ -621,7 +621,7 @@ class TimeSafariElectronTestApp {
}
}
private async testDebugInfo() {
private async testDebugInfo(): Promise<void> {
try {
this.log('Testing Electron debug info...');
const debugInfo = {