From 632050422e978842abd9ac9264eef6693308f34c Mon Sep 17 00:00:00 2001 From: Vladimir Starkov Date: Fri, 31 Jan 2025 11:55:53 +0100 Subject: [PATCH] fix: adjust types --- dist/index.js | 1 + src/async-function.ts | 1 + types/async-function.d.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/dist/index.js b/dist/index.js index c615a06..bb06b77 100644 --- a/dist/index.js +++ b/dist/index.js @@ -36286,6 +36286,7 @@ async function main() { require: wrapRequire, __original_require__: require, github, + octokit: github, context: lib_github.context, core: core, exec: exec, diff --git a/src/async-function.ts b/src/async-function.ts index a60af87..84035f2 100644 --- a/src/async-function.ts +++ b/src/async-function.ts @@ -11,6 +11,7 @@ export declare type AsyncFunctionArguments = { context: Context core: typeof core github: InstanceType + octokit: InstanceType exec: typeof exec glob: typeof glob io: typeof io diff --git a/types/async-function.d.ts b/types/async-function.d.ts index 910a624..b204e36 100644 --- a/types/async-function.d.ts +++ b/types/async-function.d.ts @@ -9,6 +9,7 @@ export declare type AsyncFunctionArguments = { context: Context; core: typeof core; github: InstanceType; + octokit: InstanceType; exec: typeof exec; glob: typeof glob; io: typeof io;