Skip to content

Commit c1a9577

Browse files
committed
Address comment
1 parent fa89b8b commit c1a9577

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/async-function.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import * as core from '@actions/core'
22
import * as exec from '@actions/exec'
3-
import {context as _ghContext, GitHub} from '@actions/github/lib/utils'
3+
import type {context, getOctokit} from '@actions/github'
44
import * as glob from '@actions/glob'
55
import * as io from '@actions/io'
66

77
const AsyncFunction = Object.getPrototypeOf(async () => null).constructor
88

99
export declare type AsyncFunctionArguments = {
10-
context: typeof _ghContext
10+
context: typeof context
1111
core: typeof core
12-
github: InstanceType<typeof GitHub>
13-
octokit: InstanceType<typeof GitHub>
12+
github: ReturnType<typeof getOctokit>
13+
octokit: ReturnType<typeof getOctokit>
1414
exec: typeof exec
1515
glob: typeof glob
1616
io: typeof io

0 commit comments

Comments
 (0)