function paginateRest(octokit) {
    return {
        paginate: Object.assign(paginate.bind(null, octokit), {
            iterator: iterator$2.bind(null, octokit),
        }),
    };
}
@param octokit Octokit instance
@param options Options passed to Octokit constructor