Skip to content
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

.unwrap() method has incorrect / out of date return type in documentation #487

Open
mknowlton89 opened this issue Jan 24, 2025 · 0 comments

Comments

@mknowlton89
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant