We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa89b8b commit c1a9577Copy full SHA for c1a9577
1 file changed
src/async-function.ts
@@ -1,16 +1,16 @@
1
import * as core from '@actions/core'
2
import * as exec from '@actions/exec'
3
-import {context as _ghContext, GitHub} from '@actions/github/lib/utils'
+import type {context, getOctokit} from '@actions/github'
4
import * as glob from '@actions/glob'
5
import * as io from '@actions/io'
6
7
const AsyncFunction = Object.getPrototypeOf(async () => null).constructor
8
9
export declare type AsyncFunctionArguments = {
10
- context: typeof _ghContext
+ context: typeof context
11
core: typeof core
12
- github: InstanceType<typeof GitHub>
13
- octokit: InstanceType<typeof GitHub>
+ github: ReturnType<typeof getOctokit>
+ octokit: ReturnType<typeof getOctokit>
14
exec: typeof exec
15
glob: typeof glob
16
io: typeof io
0 commit comments