Skip to content

Commit

Permalink
fix(typescript): remove [key: string]: any from Octokit class (#309)
Browse files Browse the repository at this point in the history
Before any property on an `octokit` instance could be used without complaint at build time. With this change, all additional properties on an `octokit` instance need to be added explicitly using plugins
gr2m authored Mar 30, 2021
1 parent 7dedbfc commit b753efb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -181,6 +181,4 @@ export class Octokit {

// TODO: type `octokit.auth` based on passed options.authStrategy
auth: (...args: unknown[]) => Promise<unknown>;

[key: string]: any;
}

0 comments on commit b753efb

Please sign in to comment.