mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 22:50:04 +00:00
fix: use typeof getOctokit instead of deep @octokit/core import, rebuild dist/
This commit is contained in:
parent
00afa0fed2
commit
a7dc0e4fc1
2 changed files with 4 additions and 6 deletions
2
types/async-function.d.ts
vendored
2
types/async-function.d.ts
vendored
|
|
@ -1,6 +1,7 @@
|
|||
/// <reference types="node" />
|
||||
import * as core from '@actions/core';
|
||||
import * as exec from '@actions/exec';
|
||||
import { getOctokit } from '@actions/github';
|
||||
import { Context } from '@actions/github/lib/context';
|
||||
import { GitHub } from '@actions/github/lib/utils';
|
||||
import * as glob from '@actions/glob';
|
||||
|
|
@ -10,6 +11,7 @@ export declare type AsyncFunctionArguments = {
|
|||
core: typeof core;
|
||||
github: InstanceType<typeof GitHub>;
|
||||
octokit: InstanceType<typeof GitHub>;
|
||||
getOctokit: typeof getOctokit;
|
||||
exec: typeof exec;
|
||||
glob: typeof glob;
|
||||
io: typeof io;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue