v11 types ProcedureBuilder & MiddlewareBuilder
You used to be able to import these types directly from
@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?
1 Reply
I would do this, but I'm not sure if this might break in the future