diff --git a/index.ts b/index.ts index 3656947..6355e91 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,10 @@ +import type * as core from '@actions/core' +import type * as github from '@actions/github' + type GitHubScriptContext = { - core: typeof import('@actions/core') - context: typeof import('@actions/github').context - github: ReturnType + core: typeof core + context: typeof github.context + github: ReturnType } export const main = async ({ core, context, github }: GitHubScriptContext) => {