Skip to content

Commit 0151ef0

Browse files
authoredMar 3, 2022
feat(types): convert type 'OctokitOptions' to interface (#450)
1 parent 5c6c3a0 commit 0151ef0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Octokit } from ".";
55

66
export type RequestParameters = OctokitTypes.RequestParameters;
77

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.