react-native-gif-search
react-native-gif-search copied to clipboard
Resolving typescript issues for gifType and Providers
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.