Form Actions are not typesafe in SvelteKit. When sending or receiving data to or from any action the return type will be unknown. To counter this you can use a library like Zod for validation or TRPC to have the types known when calling a function or action from the frontend. This is also the case for API endpoints.