We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c6c3a0 commit 0151ef0Copy full SHA for 0151ef0
src/types.ts
@@ -5,7 +5,7 @@ import { Octokit } from ".";
5
6
export type RequestParameters = OctokitTypes.RequestParameters;
7
8
-export type OctokitOptions = {
+export interface OctokitOptions {
9
// TODO: add types for authStrategy & auth options and octokit.auth() method,
10
// see https://tinyurl.com/typescript-auth-strategies
11
authStrategy?: any;
@@ -22,7 +22,7 @@ export type OctokitOptions = {
22
request?: OctokitTypes.RequestRequestOptions;
23
timeZone?: string;
24
[option: string]: any;
25
-};
+}
26
27
export type Constructor<T> = new (...args: any[]) => T;
28
0 commit comments