all my inferred typings on the frontend are `any`
I have a backend trpc router like this:
I import the type into my React Native client.
But when I try to use inferences, it gets typed weirdly:
Gets typed as:
Why is this happening? My versions across client and server are synced, and I have strict mode on.
1 Reply
i think it has to do with some tsconfig relative vs absolute import stuff. i want to use absolute imports on my backend, but have it resolve correctly. how can i configure this?
okay fixed it! I had to rewrite my tsconfigs