Skip to content

docs: fix incorrect JSDoc for TreeViewItem sibling getters#503

Merged
willeastcott merged 1 commit into
mainfrom
fix/treeviewitem-jsdoc-sibling
Feb 26, 2026
Merged

docs: fix incorrect JSDoc for TreeViewItem sibling getters#503
willeastcott merged 1 commit into
mainfrom
fix/treeviewitem-jsdoc-sibling

Conversation

@willeastcott

Copy link
Copy Markdown
Contributor

The nextSibling getter JSDoc incorrectly said Gets the first sibling item and previousSibling said Gets the last sibling item. Corrected to next and previous respectively.

Made with Cursor

@willeastcott willeastcott requested a review from Copilot February 26, 2026 13:38
@willeastcott willeastcott self-assigned this Feb 26, 2026
@willeastcott willeastcott added the bug Something isn't working label Feb 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR corrects incorrect JSDoc comments for the TreeViewItem sibling getter methods. The previous comments incorrectly described nextSibling as getting the "first" sibling and previousSibling as getting the "last" sibling, when they actually retrieve the next and previous siblings respectively.

Changes:

  • Fixed JSDoc for nextSibling getter to correctly state "Gets the next sibling item"
  • Fixed JSDoc for previousSibling getter to correctly state "Gets the previous sibling item"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@willeastcott willeastcott merged commit ffd6cdf into main Feb 26, 2026
9 checks passed
@willeastcott willeastcott deleted the fix/treeviewitem-jsdoc-sibling branch February 26, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants