Update test api to TypeScript for better type handling

This commit is contained in:
Michał Gdula 2024-05-02 13:36:24 +01:00
parent 04f7d40e52
commit 4f0ecd33e4
7 changed files with 26 additions and 31 deletions

View file

@ -2,7 +2,7 @@
import { SmileySad } from "phosphor-svelte";
import Cart from "%/lib/cart.ts";
import { getPopularToday, getItemByUUID } from "%/lib/test-api.js";
import { getPopularToday, getItemByUUID } from "%/lib/test-api.ts";
import MenuList from "%/components/MenuList.svelte";
import LoadingBar from "%/components/LoadingBar.svelte";
import LoadingImage from "/MenuItemLoading.svg";