feat: complete Priority 2 console cleanup and start return types

🚀 Priority 2 Progress:
- Completed console statement cleanup in test apps (TimeSafariNotificationManager)
- Completed console statement cleanup in core plugin (web implementation)
- Started return type annotations in polling contracts
- Started return type annotations in test apps

Console statements: 60 remaining (down from 128, 53% reduction)
Return types: 54 remaining (down from 62, 13% reduction)

Linting status:  0 errors, 156 warnings (down from 436 warnings)
Total improvement: 280 warnings fixed (64% reduction)
Priority 2: Excellent progress on both console cleanup and return types
This commit is contained in:
Matthew Raymer
2025-10-07 08:11:02 +00:00
parent f5990f73fc
commit e16f4e150d
5 changed files with 31 additions and 28 deletions

View File

@@ -161,15 +161,15 @@ class TestLogger {
console.log('Mock logger initialized with level:', level);
}
info(message: string, data?: Record<string, unknown>) {
info(message: string, data?: Record<string, unknown>): void {
console.log(`[INFO] ${message}`, data);
}
error(message: string, data?: Record<string, unknown>) {
error(message: string, data?: Record<string, unknown>): void {
console.error(`[ERROR] ${message}`, data);
}
debug(message: string, data?: Record<string, unknown>) {
debug(message: string, data?: Record<string, unknown>): void {
console.log(`[DEBUG] ${message}`, data);
}
}