You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @TwisterMc, I have checked and seems like this is a valid type issue in the JS SDK. Fixing JS will automatically resolve the issue in React end. I have created an internal ticket FSSDK-11197 to track this.
Is there an existing issue for this?
SDK Version
Source: https://docs.developers.optimizely.com/feature-experimentation/docs/usetrackevent-react
When you look at the example code it says:
However, if you add that code to a TypeScript project, utilizing the
useTrackEvent
hook, it expects$opt_event_properties: properties
to be a string.Current Behavior
Code is throwing a TypeScript error.
Expected Behavior
Code should not throw a TypeScript error.
Steps To Reproduce
React Framework
NextJS 13.5.6
Browsers impacted
No response
Link
No response
Logs
No response
Severity
No response
Workaround/Solution
No response
Recent Change
No response
Conflicts
No response
The text was updated successfully, but these errors were encountered: