Remove use of any in scripts/add-fields-to-scenarios.ts

This commit is contained in:
Robert
2024-02-06 16:57:22 +00:00
parent c906e76214
commit 31ff3577c4

View File

@@ -15,6 +15,7 @@ import { pathExists, readJson, writeJson } from "fs-extra";
import { resolve, relative } from "path";
import type { Octokit } from "@octokit/core";
import type { EndpointDefaults } from "@octokit/types";
import type { RestEndpointMethodTypes } from "@octokit/rest";
import { throttling } from "@octokit/plugin-throttling";
@@ -42,7 +43,7 @@ const octokit = new MyOctokit({
throttle: {
onRateLimit: (
retryAfter: number,
options: any,
options: EndpointDefaults,
octokit: Octokit,
): boolean => {
octokit.log.warn(
@@ -53,7 +54,7 @@ const octokit = new MyOctokit({
},
onSecondaryRateLimit: (
_retryAfter: number,
options: any,
options: EndpointDefaults,
octokit: Octokit,
): void => {
octokit.log.warn(