🐛 bug: fix type of recipes

:%s
This commit is contained in:
Quangnhankie
2021-10-21 14:34:34 +07:00
parent eb6b1e3f9b
commit 7ba17af820

View File

@@ -21,6 +21,7 @@ export enum SortOrder {
ASC = 'ASC',
DESC = 'DESC',
}
export type GetAllRecipesOperation<T extends RecipesType = RecipesType> = {
data: { items: T['items'][], totalItems: number }
variables: {