Skip to content

Commit

Permalink
fix(typescript): export EventTypesPayload type
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Dec 4, 2020
1 parent 700b0f5 commit 89cab46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ class Webhooks<T extends WebhookEvent = WebhookEvent, U = {}> {
const createWebhooksApi = Webhooks.prototype.constructor;

export { EventPayloads } from "./generated/event-payloads";
export { WebhookEvents } from "./generated/get-webhook-payload-type-from-event";
export {
EventTypesPayload,
WebhookEvents,
} from "./generated/get-webhook-payload-type-from-event";

export {
createEventHandler,
Expand Down

0 comments on commit 89cab46

Please sign in to comment.