Skip to content

Commit 063f7fd

Browse files
committed
Refactor
1 parent 9699846 commit 063f7fd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎index.ts‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
import type * as core from '@actions/core'
2+
import type * as github from '@actions/github'
3+
14
type GitHubScriptContext = {
2-
core: typeof import('@actions/core')
3-
context: typeof import('@actions/github').context
4-
github: ReturnType<typeof import('@actions/github').getOctokit>
5+
core: typeof core
6+
context: typeof github.context
7+
github: ReturnType<typeof github.getOctokit>
58
}
69

710
export const main = async ({ core, context, github }: GitHubScriptContext) => {

0 commit comments

Comments
 (0)