TRPC Next/Server Types Broken >10.5.0

TThomas_DevArk4/28/2023
Hi all, recently I upgraded from 10.5.0 to latest 10.21.2, discovering that I now have type-check errors across all apps and packages that import my TRPC package.

This is preventing the ability to build, with type-checking which is not overly great.

I tryed over versions like 10.10.0 and 10.6.0, etc...

All Versions After 10.5.0 cause @trpc/next type errors.

And some where between 10.6.0 and 10.21.2 cause the @trpc/server issues.

The File Attached is the log of the errors that occur with the commands I used.

I am using Node 18, Yarn and Turborepo.

Hope someone has had a similar issue.

Hopefully there is fix that I could use.
A/Kalex / KATT4/28/2023
what's your typescript version?
A/Kalex / KATT4/28/2023
that looks like new syntax so i think you need to bump ts
TThomas_DevArk4/28/2023
@alex / KATT It is on 4.5.3
A/Kalex / KATT4/28/2023
looks like we require typescript 4.7 right now oops
A/Kalex / KATT4/28/2023
because we use instantiation expressions
TThomas_DevArk4/28/2023
It is possible to have a disclaimer on the docs???
A/Kalex / KATT4/28/2023
but i think that's the only place, we could likely refactor it
A/Kalex / KATT4/28/2023
it says here
TThomas_DevArk4/28/2023
Ah
TThomas_DevArk4/28/2023
Well thanks again, I didn't release their was a upgrade required....
TThomas_DevArk4/28/2023
Been attempting everything today for this issue, it has taken me 6 hours.
A/Kalex / KATT4/28/2023
uh shit
A/Kalex / KATT4/28/2023
sorry to hear
TThomas_DevArk4/28/2023
It is all good, glad to know it was just the basics
TThomas_DevArk4/28/2023
I was over thinking the issue.