nas5w/use-local-storage

Add ability to specify the type of new key's data when you set a new localstorage key

nas5w opened this issue · 1 comments

nas5w commented

Is your feature request related to a problem? Please describe.
When using setKey, you can't currently change the type of the data associated with that key.

Describe the solution you'd like
A way to specify the type of the new key's data, if that's possible

Describe alternatives you've considered
Just not making it possible (current state)

Additional context
Probably just above my ability at this point, folks with more Typescript expertise needed!

nas5w commented

Won't fix due to overall refactor