shuS
tRPC3y ago
5 replies
shu

tRPC type error on turborepo

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'.
Was this page helpful?