File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import * as core from '@actions/core'
22import * as exec from '@actions/exec'
3- import { Context } from '@actions/github/lib/context'
4- import { GitHub } from '@actions/github/lib/utils'
3+ import type { context , getOctokit } from '@actions/github'
54import * as glob from '@actions/glob'
65import * as io from '@actions/io'
76
87const AsyncFunction = Object . getPrototypeOf ( async ( ) => null ) . constructor
98
109export declare type AsyncFunctionArguments = {
11- context : Context
10+ context : typeof context
1211 core : typeof core
13- github : InstanceType < typeof GitHub >
14- octokit : InstanceType < typeof GitHub >
12+ github : ReturnType < typeof getOctokit >
13+ octokit : ReturnType < typeof getOctokit >
14+ getOctokit : typeof getOctokit
1515 exec : typeof exec
1616 glob : typeof glob
1717 io : typeof io
You can’t perform that action at this time.
0 commit comments