ctx type from the Context type that is inferred from the createContext function.privateProcedure so the changes which are made to the context in middlewares will also be correctly typed.inferProcedureBuilderResolverOptions helper type, but it is only available in version 11, and version 11 hasn't been released yet. Is there a way to do this in v10?.mutation(handlerFunc) .mutation call. This way the options (so also the context) are correctly inferred and the need to import the Context type becomes unnecessary.