v11 types ProcedureBuilder & MiddlewareBuilder
You used to be able to import these types directly from
I have some properties on a class that should hold a
@trpc/server. With v11 you can only import them via unstable-core-do-not-import.I have some properties on a class that should hold a
t.middleware and a t.procedure. What's the recommended way to type my Middleware and Procedure in v11?