AppRouter being inffered as any

I am trying to setup TRPC for my react native app in a turbo repo. But after importing the AppRouter it is showing as 'any'. I have no clue what I did wrong as I was following the guide from TRPC doc. The react-native app is a bare-rn app. And I am using yarn as my package manager with
"installConfig": {
"hoistingLimits": "workspaces"
},
"installConfig": {
"hoistingLimits": "workspaces"
},
This is my directory structure
--turbo-repo
|__ apps
|__ react-native-app
|
|__ backend
|__express-server(trpc)
|
|__ packages
This is my directory structure
--turbo-repo
|__ apps
|__ react-native-app
|
|__ backend
|__express-server(trpc)
|
|__ packages
2 Replies
barry
barry2y ago
typescript needs to be strict
The White Fang
The White FangOP2y ago
In the native app? Did that with no luck.
Want results from more Discord servers?
Add your server