Address comment

This commit is contained in:
Angel Kou
2026-03-26 15:05:18 -07:00
parent fa89b8b7dd
commit c1a957718a

View File

@@ -1,16 +1,16 @@
import * as core from '@actions/core' import * as core from '@actions/core'
import * as exec from '@actions/exec' 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 glob from '@actions/glob'
import * as io from '@actions/io' import * as io from '@actions/io'
const AsyncFunction = Object.getPrototypeOf(async () => null).constructor const AsyncFunction = Object.getPrototypeOf(async () => null).constructor
export declare type AsyncFunctionArguments = { export declare type AsyncFunctionArguments = {
context: typeof _ghContext context: typeof context
core: typeof core core: typeof core
github: InstanceType<typeof GitHub> github: ReturnType<typeof getOctokit>
octokit: InstanceType<typeof GitHub> octokit: ReturnType<typeof getOctokit>
exec: typeof exec exec: typeof exec
glob: typeof glob glob: typeof glob
io: typeof io io: typeof io