catalog-react: explicit type for storageApi.get
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user