mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
19 lines
660 B
TypeScript
19 lines
660 B
TypeScript
/// <reference types="node" />
|
|
import * as core from '@actions/core';
|
|
import * as exec from '@actions/exec';
|
|
import { Context } from '@actions/github/lib/context';
|
|
import { GitHub } from '@actions/github/lib/utils';
|
|
import * as glob from '@actions/glob';
|
|
import * as io from '@actions/io';
|
|
export declare type AsyncFunctionArguments = {
|
|
context: Context;
|
|
core: typeof core;
|
|
github: InstanceType<typeof GitHub>;
|
|
exec: typeof exec;
|
|
glob: typeof glob;
|
|
io: typeof io;
|
|
require: NodeRequire;
|
|
__original_require__: NodeRequire;
|
|
};
|
|
export declare function callAsyncFunction<T>(args: AsyncFunctionArguments, source: string): Promise<T>;
|