diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-11-18 17:37:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 22:07:45 +0530 |
commit | b37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch) | |
tree | 0276e7c51f5ebfa14c566def7aac39f014c2291d /src/features | |
parent | Update github issues template [skip ci] (diff) | |
download | ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.gz ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.zst ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.zip |
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
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/communityRecipes/store.ts | 2 | ||||
-rw-r--r-- | src/features/publishDebugInfo/index.ts (renamed from src/features/publishDebugInfo/index.js) | 0 |
2 files changed, 1 insertions, 1 deletions
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 { | |||
26 | (recipePreview: { isDevRecipe: boolean; author: any[] }) => { | 26 | (recipePreview: { isDevRecipe: boolean; author: any[] }) => { |
27 | // TODO: Need to figure out if this is even necessary/used | 27 | // TODO: Need to figure out if this is even necessary/used |
28 | recipePreview.isDevRecipe = !!recipePreview.author.some( | 28 | recipePreview.isDevRecipe = !!recipePreview.author.some( |
29 | (author: { email: any }) => | 29 | (author: { email: string }) => |
30 | author.email === this.stores.user.data.email, | 30 | author.email === this.stores.user.data.email, |
31 | ); | 31 | ); |
32 | 32 | ||
diff --git a/src/features/publishDebugInfo/index.js b/src/features/publishDebugInfo/index.ts index 43841b530..43841b530 100644 --- a/src/features/publishDebugInfo/index.js +++ b/src/features/publishDebugInfo/index.ts | |||