mirror of
https://github.com/actions/github-script.git
synced 2026-03-28 00:45:11 +00:00
- @actions/github: ^6.0.0 → ^9.0.0 - @octokit/core: ^5.0.1 → ^7.0.0 - @octokit/plugin-request-log: ^4.0.0 → ^6.0.0 - @octokit/plugin-retry: ^6.0.1 → ^8.0.0 - Update tsconfig.json to use moduleResolution: "bundler" for ESM exports map support - Update import paths for new package structures - Update build:types script for compatible compiler options Co-authored-by: angel-jiakou <115738347+angel-jiakou@users.noreply.github.com> Agent-Logs-Url: https://github.com/actions/github-script/sessions/17de5ca1-8bdc-41e4-a06d-ab2d8c2e6e8c
19 lines
680 B
TypeScript
19 lines
680 B
TypeScript
/// <reference types="node" />
|
|
import * as core from '@actions/core';
|
|
import * as exec from '@actions/exec';
|
|
import { context as _ghContext, GitHub } from '@actions/github/lib/utils';
|
|
import * as glob from '@actions/glob';
|
|
import * as io from '@actions/io';
|
|
export declare type AsyncFunctionArguments = {
|
|
context: typeof _ghContext;
|
|
core: typeof core;
|
|
github: InstanceType<typeof GitHub>;
|
|
octokit: 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>;
|