Skip to content

(fix): fix tests by addressing TypeScript type mismatches #2412

Open
ikuleshov wants to merge 2 commits into
mainfrom
fix/typescript-type-mismatches
Open

(fix): fix tests by addressing TypeScript type mismatches #2412
ikuleshov wants to merge 2 commits into
mainfrom
fix/typescript-type-mismatches

Conversation

@ikuleshov
Copy link
Copy Markdown
Collaborator

Replace enums with string literal union types for MetricAggregation, OperationType, and MatchType

@ikuleshov ikuleshov force-pushed the fix/typescript-type-mismatches branch 2 times, most recently from 3cb60e7 to 4a750c6 Compare May 13, 2026 00:20
- Replace enums with string literal union types for MetricAggregation, OperationType, and MatchType
- Eliminate code duplication by using single mapping objects for options
- Improve type safety for GA4 API request builder
@ikuleshov ikuleshov force-pushed the fix/typescript-type-mismatches branch from 4a750c6 to 9b66ba8 Compare May 13, 2026 00:43
@ikuleshov ikuleshov requested a review from lindsey-volta May 13, 2026 00:52
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.

1 participant