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

History 'next' returns undefined in js not null #1770

Open
tomczoink opened this issue Nov 29, 2022 · 0 comments
Open

History 'next' returns undefined in js not null #1770

tomczoink opened this issue Nov 29, 2022 · 0 comments

Comments

@tomczoink
Copy link
Contributor

tomczoink commented Nov 29, 2022

The docs () currently state if there is no next page, null is returned. (https://github.com/ably/docs/blame/main/content/partials/types/_paginated_result.textile#L81)

Currently undefined is actually returned (as in ts void is returned, https://github.com/ably/ably-js/blob/3386abae8f35f5d41f016c0feeb7406bb5537cb2/src/common/lib/client/paginatedresource.ts#L178).

┆Issue is synchronized with this Jira Task by Unito

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

No branches or pull requests

1 participant