joinflux / firebase-remote-config

MIT License
7 stars 9 forks source link

Update methods to return correct type based on the type of value we're retrieving #9

Closed Nevvulo closed 2 years ago

Nevvulo commented 2 years ago

This PR fixes an issue where the type definitions would be incorrect when using getBoolean or getNumber - the value returned would always be a string. Now, RCReturnData accepts a generic type parameter which can be changed per method.