Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Octokit } from ".";

export type RequestParameters = OctokitTypes.RequestParameters;

export type OctokitOptions = {
export interface OctokitOptions {
// TODO: add types for authStrategy & auth options and octokit.auth() method,
// see https://tinyurl.com/typescript-auth-strategies
authStrategy?: any;
Expand All @@ -22,7 +22,7 @@ export type OctokitOptions = {
request?: OctokitTypes.RequestRequestOptions;
timeZone?: string;
[option: string]: any;
};
}

export type Constructor<T> = new (...args: any[]) => T;

Expand Down