diff --git a/deployables/extension/src/panel/utils/getStorageEntries.ts b/deployables/extension/src/panel/utils/getStorageEntries.ts index 6a51292e5..007eb08c8 100644 --- a/deployables/extension/src/panel/utils/getStorageEntries.ts +++ b/deployables/extension/src/panel/utils/getStorageEntries.ts @@ -1,7 +1,7 @@ export function getStorageEntries(collection: string) { const { promise, resolve } = Promise.withResolvers<{ [key: string]: T }>() - chrome.storage.sync.get((allEntries) => { + chrome.storage.sync.get<{ [key: string]: T }>((allEntries) => { const matchingEntries = Object.entries(allEntries) .map(([itemKey, value]) => { const match = itemKey.match(new RegExp(`${collection}\\[(.+)\\]`))