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

[BUG] Typo in Type Definition: experimentsIds should be experimentIds #991

Open
1 task done
alycecristines opened this issue Jan 27, 2025 · 0 comments · May be fixed by #990
Open
1 task done

[BUG] Typo in Type Definition: experimentsIds should be experimentIds #991

alycecristines opened this issue Jan 27, 2025 · 0 comments · May be fixed by #990

Comments

@alycecristines
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

SDK Version

"@optimizely/optimizely-sdk": "5.3.4"

Current Behavior

There is a typo in the type definition of the library. The object for getConfig events returned by the SDK uses the property experimentIds, but the type definition incorrectly specifies it as experimentsIds.

Expected Behavior

The type definition should correctly use experimentIds to match the actual property returned by the SDK.

Steps To Reproduce

Use the SDK method that returns an object containing config events array with experimentIds array.
Observe the type definition mismatch, which causes TypeScript to throw an error.

SDK Type

Browser

Node Version

v20.15.1

Browsers impacted

all

Link

No response

Logs

No response

Severity

Minor issue

Workaround/Solution

No response

Recent Change

No response

Conflicts

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant