somehow when move typed function out of the router files, frontend infer type to be any ?
this is inferred corrected since they are in the same file.
getX: t.procedure.query(() => {
return getX()
})
function getX(): X{
...
}getX: t.procedure.query(() => {
return getX()
})
export function getX(): X{ << moving this out of the file breaks the typing.
...
}