You are reading the documentation for connect v1, which is no longer the latest version. Switch to connect v2
ContextualizedApi
All available API methods without first argument - context, because this prop is set automatically.
export type ContextualizedApi<API> = {
[T in keyof API]: API[T] extends (context: any, ...arguments_: infer P) => infer R ? (...arguments_: P) => R : never;
};