Argument of type '<T extends { _id: string; _type: string; _version?: Record<string, never> | undefined; }>(documents: T[], { bundlePerspective }?: CollateOptions) => CollatedHit<T>[]' is not assignable to parameter of type '(value: SanityDocumentLike[], index: number) => CollatedHit<SanityDocumentLike>[]'.