Skip to content

Commit

Permalink
fix(TypeScript): add missing types for constructor options (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv authored Aug 4, 2020
1 parent a5ce078 commit 80ca4a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ export type OctokitOptions = {
// see https://tinyurl.com/typescript-auth-strategies
authStrategy?: any;
auth?: any;
userAgent?: string;
previews?: string[];
baseUrl?: string;
log?: {
debug: (message: string) => unknown;
info: (message: string) => unknown;
warn: (message: string) => unknown;
error: (message: string) => unknown;
};
request?: OctokitTypes.RequestRequestOptions;
timeZone?: string;
[option: string]: any;
Expand Down

0 comments on commit 80ca4a1

Please sign in to comment.