Skip to content

Fix/analytics service any types#203

Merged
Mosas2000 merged 41 commits into
mainfrom
fix/analytics-service-any-types
May 23, 2026
Merged

Fix/analytics service any types#203
Mosas2000 merged 41 commits into
mainfrom
fix/analytics-service-any-types

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Key Achievements:
AnalyticsService - Replaced any type in UserProperties interface with proper EventPropertyValue union type
Type Safety Improvements - Extended the fix to related services, utilities, and validators
New Type Definitions - Created proper types like EventPropertyValue, JsonValue, LogData, CacheEntry, etc.
Comprehensive Coverage - Fixed any types in:
Core services (Analytics, GDPR, Storage, Encryption)
Type definitions (sync, reducers, rbac, charting, websocket, etc.)
Hooks (useSecureStorage, useChartRendering)
Utilities (logger, performance monitor, error handling, validators)
All validator classes
Impact:
✅ Improved type safety across the entire analytics and storage system
✅ Better compile-time error detection
✅ Reduced runtime errors from incorrect property types
✅ Full compliance with TypeScript strict mode guidelines
✅ Enhanced code maintainability and readability

Closes #143

Mosas2000 added 30 commits May 23, 2026 13:51
@Mosas2000 Mosas2000 merged commit 9a317bd into main May 23, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace 'any' types with proper types in AnalyticsService

1 participant