Skip to content

Commit

Permalink
fix(typescript): simplify ProbotWebhooks object (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
vscaiceanu-1a committed Jun 14, 2023
1 parent 6c5840d commit 7b09369
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export type State = {
baseUrl?: string;
};

export type ProbotWebhooks = Webhooks<Omit<Context, keyof WebhookEvent>>;
type SimplifiedObject = Omit<Context, keyof WebhookEvent>;
export type ProbotWebhooks = Webhooks<SimplifiedObject>;

export type DeprecatedLogger = LogFn & Logger;

Expand Down

0 comments on commit 7b09369

Please sign in to comment.