From c1a957718a86edee882ab7c49632fa085e4079b1 Mon Sep 17 00:00:00 2001 From: Angel Kou Date: Thu, 26 Mar 2026 15:05:18 -0700 Subject: [PATCH] Address comment --- src/async-function.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/async-function.ts b/src/async-function.ts index 0356b6d..8b72c82 100644 --- a/src/async-function.ts +++ b/src/async-function.ts @@ -1,16 +1,16 @@ import * as core from '@actions/core' import * as exec from '@actions/exec' -import {context as _ghContext, GitHub} from '@actions/github/lib/utils' +import type {context, getOctokit} from '@actions/github' import * as glob from '@actions/glob' import * as io from '@actions/io' const AsyncFunction = Object.getPrototypeOf(async () => null).constructor export declare type AsyncFunctionArguments = { - context: typeof _ghContext + context: typeof context core: typeof core - github: InstanceType - octokit: InstanceType + github: ReturnType + octokit: ReturnType exec: typeof exec glob: typeof glob io: typeof io