tRPC type error on turborepo

Sshu5/19/2023
Types of property 'query' are incompatible.
    Type 'inferHandlerFn<{}>' is not assignable to type 'inferHandlerFn<any>'.
       Types of parameters 'path' and 'path' are incompatible.
         Type 'TPath' is not assignable to type 'never'.
            Type 'string' is not assignable to type 'never'.
Sshu5/19/2023
All versions are the same (10.20.0) and im using pnpm
Sshu5/19/2023
File structure is apps/(expo and next), packages/(api)
Sshu5/19/2023
types work on expo but not on nextjs
Sshu5/19/2023
Sshu5/19/2023
I'm a bit of a noobie so yeah 😅 any help would be greatly appreciated