Closed oscarlomas09 closed 5 years ago
Ignore the typings. It will work with an asynchronous storage.
All typings have been fixed in Feathers v4 authentication. Please see the migration guide for more information. Closing this issue in order to archive this repository. Related issues can be opened at the new code location in the Feathers main repository.
Steps to reproduce
(First please check that this issue is not already solved as described here)
Trying to configure feathers-client with authentication storage fails. The docs suggest using appropriate storage items for localStorage and one of those suggestions is using localForage. However, the localForage is asynchronous and the Storage object for it returns promises. Is there any example on interfacing localForage with the authentication-client
Expected behavior
and the localForage interface
Actual behavior
System configuration
Typescript 3.0.1 Windows 10 - 64 bit
Module versions (especially the part that's not working):
NodeJS version: npm -v > 5.6.0