@rapropos you sir deserve a very cold and large beer!
Thanks it worked!
for @theromis heres what i did:
install it:
npm install @types/localforage npm install localforage
import it:
import * as localforage from "localforage";
and then change set, get remove, clear
to their new values,
example:
localforage.setItem('key', 'value' );
github: https://github.com/localForage/localForage
api doc: https://localforage.github.io/localForage/