Skip to content

Commit d53d987

Browse files
chore: add octokit type
1 parent 35e17ea commit d53d987

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Command from './command';
33
import ApiHelper from './api-helper';
44
import GitHelper from './git-helper';
55

6+
export * as Types from './types';
67
export * as Utils from './utils';
78
export * as ContextHelper from './context-helper';
89

src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import {GitHub} from '@actions/github/lib/utils';
2+
3+
export type Octokit = InstanceType<typeof GitHub>;

0 commit comments

Comments
 (0)