From e80687c458065500e5f1d72fdedd2906c0d58b1a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 31 Jul 2018 19:47:14 +0200 Subject: Upgrade client dependencies --- client/src/app/shared/misc/peertube-local-storage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/shared/misc/peertube-local-storage.ts b/client/src/app/shared/misc/peertube-local-storage.ts index ad761c82f..260f994b6 100644 --- a/client/src/app/shared/misc/peertube-local-storage.ts +++ b/client/src/app/shared/misc/peertube-local-storage.ts @@ -48,7 +48,7 @@ try { const instance = new MemoryStorage() peertubeLocalStorage = new Proxy(instance, { - set: function (obj, prop, value) { + set: function (obj, prop: string | number, value) { if (MemoryStorage.prototype.hasOwnProperty(prop)) { instance[prop] = value } else { @@ -56,7 +56,7 @@ try { } return true }, - get: function (target, name) { + get: function (target, name: string | number) { if (MemoryStorage.prototype.hasOwnProperty(name)) { return instance[name] } -- cgit v1.2.3