-
Notifications
You must be signed in to change notification settings - Fork 37
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
Export OptimizelyReactSDKClient as interface or type #49
Comments
@kylemh it is -> import { ReactSDKClient } from '@optimizely/react-sdk' https://github.com/optimizely/react-sdk/blob/master/src/index.ts#L26 |
No, I mean Line 670 in 6e6f1b4
|
I agree. I ran into this issue this week. It would be really helpful to have this updated! |
@kylemh @matthewbordas ! |
I am no longer at the company that had the codebase with this issue, so I won't be able to confirm for you, but I bet it works great! |
The return value of
createInstance
(OptimizelyReactSDKClient
) should be exported as a type, lest we need to useReturnType<typeof createInstance>
The text was updated successfully, but these errors were encountered: