mirror of
https://github.com/actions/github-script.git
synced 2026-06-06 00:54:25 +00:00
types: update type declarations to match v9 async-function changes
This commit is contained in:
parent
af48da85cb
commit
652783f052
1 changed files with 5 additions and 5 deletions
10
types/async-function.d.ts
vendored
10
types/async-function.d.ts
vendored
|
|
@ -1,15 +1,15 @@
|
|||
/// <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 type { context, getOctokit } from '@actions/github';
|
||||
import * as glob from '@actions/glob';
|
||||
import * as io from '@actions/io';
|
||||
export declare type AsyncFunctionArguments = {
|
||||
context: Context;
|
||||
context: typeof context;
|
||||
core: typeof core;
|
||||
github: InstanceType<typeof GitHub>;
|
||||
octokit: InstanceType<typeof GitHub>;
|
||||
github: ReturnType<typeof getOctokit>;
|
||||
octokit: ReturnType<typeof getOctokit>;
|
||||
getOctokit: typeof getOctokit;
|
||||
exec: typeof exec;
|
||||
glob: typeof glob;
|
||||
io: typeof io;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue