mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-14 11:33:49 +00:00
refactor(*): Strongly type the return object
This commit is contained in:
@@ -438,7 +438,7 @@ const getActiveProductsWithPrices = async (limit = 10, offset = 0) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return { products, count }; // Return products and total count
|
return { products: products as ProductWithPrices[], count };
|
||||||
};
|
};
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
|||||||
Reference in New Issue
Block a user