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 { PaperPlaneRight, SealWarning, SealCheck } from "phosphor-svelte";
import DropDown from "%/components/DropDown.svelte";
import { postContactEmail } from "%/lib/test-api.js";
import { postContactEmail } from "%/lib/test-api.ts";
import { expandOnTyping } from "%/lib/utils.js";
const minMessageLength = 150;