launchdarkly / react-client-sdk

LaunchDarkly Client-side SDK for React.js
Other
79 stars 67 forks source link

Add generics to use flags #142

Closed sudohalt closed 1 year ago

sudohalt commented 1 year ago

Requirements

Describe the solution you've provided Added generics to useFlags hooks

yusinto commented 1 year ago

~@sudohalt I've pushed a fix to main for a typescript error in unit tests. Are you able to merge that into your branch to pass the build please? Then we can go ahead with this PR. Thank you!~

We have fixed the typescript error on main so this should be fine to merge.