forked from mirrors/probot
fix(typescript): simplify ProbotWebhooks object (#1833)
This commit is contained in:
parent
6c5840d2df
commit
7b09369f4b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue