From ff824809b84c98e0ee26b81e601e983bfb6c2e97 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 15 Feb 2020 13:37:53 +1300 Subject: [PATCH] fix: use `IStore` interface instead of `Storage` --- src/volume-localstorage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume-localstorage.ts b/src/volume-localstorage.ts index 5e8cb658..287e09c2 100644 --- a/src/volume-localstorage.ts +++ b/src/volume-localstorage.ts @@ -29,7 +29,7 @@ export class ObjectStore { } } -export function createVolume(namespace: string, LS: Storage | object = localStorage): new (...args) => Volume { +export function createVolume(namespace: string, LS: IStore | object = localStorage): new (...args) => Volume { const store = new ObjectStore(LS); const key = (type, id) => `memfs.${namespace}.${type}.${id}`;