Skip to content

Commit

Permalink
build(typescript): add type for authStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 22, 2020
1 parent 1445d3e commit f76a16c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update-endpoints/templates/index.d.ts.tpl
Expand Up @@ -45,6 +45,7 @@ declare namespace Octokit {
}

export interface Options {
authStrategy?: any;
auth?: string | { username: string; password: string; on2fa: () => Promise<string> } | { clientId: string; clientSecret: string; } | { (): (string | Promise<string>) };
userAgent?: string;
previews?: string[];
Expand Down

0 comments on commit f76a16c

Please sign in to comment.