Skip to content

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

Open
@alycecristines

Description

@alycecristines

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions