diff options
author | Nathanaƫl Houn <contact@nathanaelhoun.fr> | 2022-05-15 23:42:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-15 23:42:36 +0200 |
commit | ed2e034b12b15c5b4ac638e6b89a4ee9a7ed5012 (patch) | |
tree | e51d99224a111a02e9ce0f39ea9762387be2950a /src/models/RecipePreview.ts | |
parent | Extracted ImageHelper and ImageController from ServiceController for reuse (diff) | |
download | ferdium-app-ed2e034b12b15c5b4ac638e6b89a4ee9a7ed5012.tar.gz ferdium-app-ed2e034b12b15c5b4ac638e6b89a4ee9a7ed5012.tar.zst ferdium-app-ed2e034b12b15c5b4ac638e6b89a4ee9a7ed5012.zip |
fix: revert "Typescript conversion" (#153)
This reverts commit 8b1bfc356c3182c481394251f3ceeb902f2baec3.
Diffstat (limited to 'src/models/RecipePreview.ts')
-rw-r--r-- | src/models/RecipePreview.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/models/RecipePreview.ts b/src/models/RecipePreview.ts index 53dd18f2c..fb8cb3e3e 100644 --- a/src/models/RecipePreview.ts +++ b/src/models/RecipePreview.ts | |||
@@ -4,7 +4,6 @@ interface IRecipePreview { | |||
4 | icon: string; | 4 | icon: string; |
5 | featured: boolean; | 5 | featured: boolean; |
6 | aliases: string[]; | 6 | aliases: string[]; |
7 | isDevRecipe: boolean; | ||
8 | } | 7 | } |
9 | 8 | ||
10 | export default class RecipePreview { | 9 | export default class RecipePreview { |
@@ -18,8 +17,6 @@ export default class RecipePreview { | |||
18 | 17 | ||
19 | aliases: string[] = []; | 18 | aliases: string[] = []; |
20 | 19 | ||
21 | isDevRecipe: boolean = false; | ||
22 | |||
23 | constructor(data: IRecipePreview) { | 20 | constructor(data: IRecipePreview) { |
24 | if (!data) { | 21 | if (!data) { |
25 | throw new Error('RecipePreview config not valid'); | 22 | throw new Error('RecipePreview config not valid'); |