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

Update readme with isFullPageOrDatabase #452

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

ronovan
Copy link
Contributor

@ronovan ronovan commented Aug 30, 2023

Updates the example to be typed correctly, specific with isFullPageOrDatabase

@ronovan ronovan requested review from a team and kiranpandit and removed request for a team August 30, 2023 18:01
rhart92
rhart92 previously approved these changes Aug 30, 2023
// The page variable has been narrowed from
// PageObjectResponse | PartialPageObjectResponse | DatabaseObjectResponse | PartialDatabaseObjectResponse
// to
// PageObjectResponse | DatabaseObjectResponse.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should show / have our helpers be better at narrowing further. I think this is a good start though.

@ronovan ronovan merged commit 0977ade into main Aug 30, 2023
4 checks passed
@ronovan ronovan deleted the ron--update-readme-is-full-page-or-database branch August 30, 2023 19:09
rhart92 added a commit that referenced this pull request Oct 3, 2023
* update readme with isfullpageordatabase

* fix spacing

* Fix formatting.

---------

Co-authored-by: Ryan Hart <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants