-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP fix(types): transform method only accepts current event type #492
WIP fix(types): transform method only accepts current event type #492
Conversation
2731aff
to
12afb27
Compare
7d1d773
to
fc8fded
Compare
E extends EmitterWebhookEventName = any, | ||
TTransformed extends EmitterWebhookEvent<E> = any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to improve these any
default values here. Is it possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can default to EmitterWebhookEventName
, it's done elsewhere in the code
I tested your patch and it doesn't seem to fix the issue at hand |
Opened a new PR reverting these 2 PR commits: #494 Closing this one since it's not fixing the issue, as @wolfy1339 pointed |
No description provided.