probot
Version:
A framework for building GitHub Apps to automate and improve your workflow
9 lines (8 loc) • 394 B
TypeScript
import { type RedisOptions } from "ioredis";
import type { Logger } from "pino";
type Options = {
log: Logger;
redisConfig?: RedisOptions | string;
};
export declare function getOctokitThrottleOptions(options: Options): import("@octokit/plugin-throttling/dist-types/types").ThrottlingOptionsBase & import("@octokit/plugin-throttling/dist-types/types").SecondaryLimitHandler;
export {};