From b37a6b07b39c8c7827052dc6fb97f490f1e0f514 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Thu, 18 Nov 2021 17:37:45 +0100 Subject: chore: convert various files to TS (#2246) * convert various files to TS * removed outdated docs/example-feature folder * turn off unicorn/no-empty-file * update eslint config --- src/features/communityRecipes/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features/communityRecipes/store.ts') diff --git a/src/features/communityRecipes/store.ts b/src/features/communityRecipes/store.ts index a8d358ba0..c7a51c311 100644 --- a/src/features/communityRecipes/store.ts +++ b/src/features/communityRecipes/store.ts @@ -26,7 +26,7 @@ export class CommunityRecipesStore extends FeatureStore { (recipePreview: { isDevRecipe: boolean; author: any[] }) => { // TODO: Need to figure out if this is even necessary/used recipePreview.isDevRecipe = !!recipePreview.author.some( - (author: { email: any }) => + (author: { email: string }) => author.email === this.stores.user.data.email, ); -- cgit v1.2.3-54-g00ecf