diff --git a/package.json b/package.json index 7ed40e9d..f8b400a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/github-action-test-helper", - "version": "0.7.11", + "version": "0.7.12", "description": "Test helper for GitHub Actions.", "keywords": [ "github", diff --git a/src/types.ts b/src/types.ts index c3684747..0ac85537 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,6 @@ import {GitHub} from '@actions/github/lib/utils'; import {RestEndpointMethods} from '@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types'; -export type Octokit = InstanceType & RestEndpointMethods; +export type Octokit = InstanceType & { + rest: RestEndpointMethods; +};