First of all, we need to add localForage to our project. We can do so using npm:
npm install localforage --save
Luckily for us, some libraries such as localForage include type definitions directly and so they're even easier to use with TypeScript!
We don't need to do anything more to get started with localForage in our project!