From 652783f052c5de27f8eb27e7c52e53311656be11 Mon Sep 17 00:00:00 2001 From: Salman Muin Kayser Chishti Date: Thu, 9 Apr 2026 18:13:39 +0000 Subject: [PATCH] types: update type declarations to match v9 async-function changes --- types/async-function.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/async-function.d.ts b/types/async-function.d.ts index b204e36..772435e 100644 --- a/types/async-function.d.ts +++ b/types/async-function.d.ts @@ -1,15 +1,15 @@ /// import * as core from '@actions/core'; import * as exec from '@actions/exec'; -import { Context } from '@actions/github/lib/context'; -import { 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'; export declare type AsyncFunctionArguments = { - context: Context; + context: typeof context; core: typeof core; - github: InstanceType; - octokit: InstanceType; + github: ReturnType; + octokit: ReturnType; + getOctokit: typeof getOctokit; exec: typeof exec; glob: typeof glob; io: typeof io;