Skip to content

Conversation

@jenn-le
Copy link
Contributor

@jenn-le jenn-le commented Jan 8, 2026

Minor fix for example code in recommended init flow doc

Copilot AI review requested due to automatic review settings January 8, 2026 00:22
@jenn-le jenn-le enabled auto-merge (squash) January 8, 2026 00:23
Copy link
Contributor

Copilot AI left a 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 TreeView type annotations from const view declarations
  • Fixed spacing issue in the second declaration (TreeView= =)

@jenn-le jenn-le merged commit 8f7de1c into microsoft:main Jan 8, 2026
28 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

🔗 No broken links found! ✅

Your attention to detail is admirable.

linkcheck output


> [email protected] ci:check-links /home/runner/work/FluidFramework/FluidFramework/docs
> start-server-and-test "npm run serve -- --no-open" 3000 check-links

1: starting server using command "npm run serve -- --no-open"
and when url "[ 'http://127.0.0.1:3000' ]" is responding with HTTP status code 200
running tests using command "npm run check-links"


> [email protected] serve
> docusaurus serve --no-open

[SUCCESS] Serving "build" directory at: http://localhost:3000/

> [email protected] check-links
> linkcheck http://localhost:3000 --skip-file skipped-urls.txt

Crawling...

Stats:
  248785 links
    1796 destination URLs
    2036 URLs ignored
       0 warnings
       0 errors


@jenn-le jenn-le deleted the init-flow-doc branch January 8, 2026 18:00
anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
Minor fix for example code in recommended init flow doc
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