diff --git a/frontend/libs/studio-pure-functions/src/ScopedStorage/ScopedStorage.ts b/frontend/libs/studio-pure-functions/src/ScopedStorage/ScopedStorage.ts index 0424bbb3003..38d5dc386ae 100644 --- a/frontend/libs/studio-pure-functions/src/ScopedStorage/ScopedStorage.ts +++ b/frontend/libs/studio-pure-functions/src/ScopedStorage/ScopedStorage.ts @@ -24,7 +24,7 @@ export class ScopedStorageImpl implements ScopedStorage { ); } - public getItem(key: keyof T): T | null { + public getItem(key: string) { const records: T = this.getAllRecordsInStorage(); if (!records) { @@ -34,7 +34,7 @@ export class ScopedStorageImpl implements ScopedStorage { return records[key] as unknown as T; } - public removeItem(key: keyof T): void { + public removeItem(key: string): void { const storageRecords: T | null = this.getAllRecordsInStorage(); if (!storageRecords) {