From 281bac6f0c2cd538518868d5eb5a5c911af55816 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 16 Dec 2021 17:11:39 +0100 Subject: [PATCH] catalog-react: explicit type for storageApi.get Signed-off-by: Patrik Oldsberg --- plugins/catalog-react/src/apis/StarredEntitiesApi/migration.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/catalog-react/src/apis/StarredEntitiesApi/migration.ts b/plugins/catalog-react/src/apis/StarredEntitiesApi/migration.ts index 7147d449ab..8405d9e08d 100644 --- a/plugins/catalog-react/src/apis/StarredEntitiesApi/migration.ts +++ b/plugins/catalog-react/src/apis/StarredEntitiesApi/migration.ts @@ -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('entityRefs') ?? []); oldStarredEntities .filter(isString)