Update typing and add a comment to fix
This commit is contained in:
parent
7a188de18b
commit
702ce464a8
|
@ -1,6 +1,5 @@
|
||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
import {context, getOctokit} from '@actions/github';
|
import {context, getOctokit} from '@actions/github';
|
||||||
//import {Octokit} from '@octokit/rest';
|
|
||||||
import {GetResponseTypeFromEndpointMethod} from '@octokit/types';
|
import {GetResponseTypeFromEndpointMethod} from '@octokit/types';
|
||||||
|
|
||||||
export interface Issue {
|
export interface Issue {
|
||||||
|
@ -57,7 +56,7 @@ export interface IssueProcessorOptions {
|
||||||
* Handle processing of issues for staleness/closure.
|
* Handle processing of issues for staleness/closure.
|
||||||
*/
|
*/
|
||||||
export class IssueProcessor {
|
export class IssueProcessor {
|
||||||
readonly client: any;
|
readonly client: any; // need to make this the correct type
|
||||||
readonly options: IssueProcessorOptions;
|
readonly options: IssueProcessorOptions;
|
||||||
private operationsLeft = 0;
|
private operationsLeft = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue