Skip to content

Commit 489bfed

Browse files
committed
refactor: remove unused customOctokit import from context type definition
1 parent 8fa7990 commit 489bfed

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/types/context.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Context as PluginContext } from "@ubiquity-os/plugin-sdk";
22
import { Env } from "./env";
33
import { PluginSettings } from "./plugin-input";
4-
import { customOctokit } from "@ubiquity-os/plugin-sdk/octokit";
54

65
/**
76
* Update `manifest.json` with any events you want to support like so:
@@ -10,6 +9,4 @@ import { customOctokit } from "@ubiquity-os/plugin-sdk/octokit";
109
*/
1110
export type SupportedEvents = "issue_comment.created" | "pull_request_review_comment.created";
1211

13-
export type Context<T extends SupportedEvents = SupportedEvents> = PluginContext<PluginSettings, Env, null, T> & {
14-
octokit: InstanceType<typeof customOctokit>;
15-
};
12+
export type Context<T extends SupportedEvents = SupportedEvents> = PluginContext<PluginSettings, Env, null, T>;

0 commit comments

Comments
 (0)