catalog-react: explicit type for storageApi.get

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-12-16 17:11:39 +01:00
parent 0b01baf309
commit 281bac6f0c
@@ -41,8 +41,7 @@ export async function performMigrationToTheNewBucket({
// nothing to do
return;
}
const targetEntities = new Set(target.get('entityRefs') ?? []);
const targetEntities = new Set(target.get<string[]>('entityRefs') ?? []);
oldStarredEntities
.filter(isString)