From 63f71582763b6895c05dd3897117cdfdbb0a70c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Jane=C4=8Dek?= Date: Thu, 12 Aug 2021 16:31:26 +0200 Subject: [PATCH] fix(types): fix localforage interface --- src/storageWrappers/LocalForageWrapper.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/storageWrappers/LocalForageWrapper.ts b/src/storageWrappers/LocalForageWrapper.ts index 1c3e24e9..c5571840 100644 --- a/src/storageWrappers/LocalForageWrapper.ts +++ b/src/storageWrappers/LocalForageWrapper.ts @@ -29,6 +29,9 @@ export class LocalForageWrapper interface LocalForageInterface { // Actual type definition: https://github.com/localForage/localForage/blob/master/typings/localforage.d.ts#L17 getItem(key: string): Promise; - setItem(key: string, value: string | object | null): Promise; + setItem( + key: string, + value: string | object | null, + ): Promise; removeItem(key: string): Promise; }