@@ -57,7 +57,7 @@ function isBase64(str: string | Buffer): boolean {
5757}
5858
5959export default function (
60- octokit : Octokit ,
60+ octokit : Octokit | any ,
6161 opts : Options ,
6262) : Promise < CommitResult > {
6363 return new Promise ( async ( resolve , reject ) => {
@@ -295,7 +295,7 @@ export default function (
295295}
296296
297297async function fileExistsInRepo (
298- octokit : Octokit ,
298+ octokit : Octokit | any ,
299299 owner : string ,
300300 repo : string ,
301301 path : string ,
@@ -316,7 +316,7 @@ async function fileExistsInRepo(
316316}
317317
318318async function createCommit (
319- octokit : Octokit ,
319+ octokit : Octokit | any ,
320320 owner : string ,
321321 repo : string ,
322322 committer : RestEndpointMethodTypes [ "git" ] [ "createCommit" ] [ "parameters" ] [ "committer" ] ,
@@ -339,7 +339,7 @@ async function createCommit(
339339}
340340
341341async function createTree (
342- octokit : Octokit ,
342+ octokit : Octokit | any ,
343343 owner : string ,
344344 repo : string ,
345345 treeItems : Array <
@@ -358,7 +358,7 @@ async function createTree(
358358}
359359
360360async function createBlob (
361- octokit : Octokit ,
361+ octokit : Octokit | any ,
362362 owner : string ,
363363 repo : string ,
364364 contents : string | Buffer ,
@@ -390,7 +390,7 @@ async function createBlob(
390390}
391391
392392async function loadRef (
393- octokit : Octokit ,
393+ octokit : Octokit | any ,
394394 owner : string ,
395395 repo : string ,
396396 ref : string ,
0 commit comments