Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo for experiment ids array on projectConfig events #990

Conversation

alycecristines
Copy link

@alycecristines alycecristines commented Jan 27, 2025

Summary

  • When I was using the optimizely client I saw a problem related to type for the getOptimizelyConfig.events object. Since the type inform that the object is
export type OptimizelyEvent = {
    id: string;
    key: string;
    experimentsIds: string[];
};

but the reality it returns

export type OptimizelyEvent = {
    id: string;
    key: string;
    experimentIds: string[]; // singular
};

image

Test plan

Issues

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.

[BUG] Typo in Type Definition: experimentsIds should be experimentIds
1 participant