You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
MethodOptions
Options available for methods which use custom queries.
export type MethodOptions<CustomQueryType> = MethodBaseOptions & {
customQuery?: CustomQueryType;
};