react-native-gif-search icon indicating copy to clipboard operation
react-native-gif-search copied to clipboard

Resolving typescript issues for gifType and Providers

Open codymurphyjones opened this issue 2 years ago • 0 comments

Updated types for typescript compatibility. We were getting an issue with the values not allowing strings and not correctly receiving the enum types appropriately so this change ensures that the types are based on the values of the types rather than the keys.

The keys are still compatible since they convert down to strings.

We've been running this in production since July 15th with no issues.

Please let me know if I overlooked something, obviously this change was created to push us past a blocker, but its been operating fairly stable for over a month.

codymurphyjones avatar Jul 13 '22 20:07 codymurphyjones