-
Notifications
You must be signed in to change notification settings - Fork 562
doc: fix init flow example code #26154
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
Conversation
There was a problem hiding this comment.
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 fixes example code in the recommended initialization flow documentation by removing unnecessary explicit type annotations from two variable declarations. The changes improve code readability and align with TypeScript best practices of using type inference when the type is clear from the return value.
- Removed redundant
TreeViewtype annotations fromconst viewdeclarations - Fixed spacing issue in the second declaration (
TreeView=→=)
|
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output |
Minor fix for example code in recommended init flow doc
Minor fix for example code in recommended init flow doc