type alias Aroundthefrontside/effectiontype Around = [K in keyof Api] : Api[K] extends (…args: infer TArgs) => infer TReturn ? Middleware<TArgs, TReturn> : Middleware<[], Api[K]>