elysiajs / eden

Fully type-safe Elysia client
MIT License
147 stars 37 forks source link

Body types are broken for React Native in treaty 2 #74

Closed matheusmichels closed 5 months ago

matheusmichels commented 5 months ago

I can safely use Eden types in a web vite project: image

but as soon as I try to use the same types in a React Native project, it casts the request body types to unknown. image

matheusmichels commented 5 months ago

I just had to set "strict": true in my tsconfig.json and it worked 🥳

image