You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the README, the documentation states the unwrap function will return a typed Payload, but looking at the source code, the unwrap function returns a generic Object type.
It would be ideal if this Payload type was defined instead of the generic Object as it will improve type safety and developer experience.
I do see there is an open PR that adds a comprehensive WebhookEvent type here that appears to resolve this issue.
The text was updated successfully, but these errors were encountered:
In the README, the documentation states the
unwrap
function will return a typedPayload
, but looking at the source code, theunwrap
function returns a genericObject
type.It would be ideal if this
Payload
type was defined instead of the genericObject
as it will improve type safety and developer experience.I do see there is an open PR that adds a comprehensive
WebhookEvent
type here that appears to resolve this issue.The text was updated successfully, but these errors were encountered: