Skip to content

docs(worker): improve JSDoc and strengthen error handling#5320

Closed
KushalMeghani1644 wants to merge 8 commits intomicrosoft:mainfrom
KushalMeghani1644:fix
Closed

docs(worker): improve JSDoc and strengthen error handling#5320
KushalMeghani1644 wants to merge 8 commits intomicrosoft:mainfrom
KushalMeghani1644:fix

Conversation

@KushalMeghani1644
Copy link

docs(worker): improve JSDoc and error handling in cpu-profile-summarizer

- Added detailed JSDoc comments for better clarity and maintainability
- Narrowed  to properly handle Error vs non-Error cases
- Removed unused  field from ILocalTimeInfo
@KushalMeghani1644
Copy link
Author

@microsoft-github-policy-service agree

@iclanton
Copy link
Member

You're missing a changelog entry. Can you run rush change and provide a summary of your change, and then check in the file that it generates?

@iclanton iclanton moved this from Needs triage to In Progress in Bug Triage Aug 27, 2025
@KushalMeghani1644
Copy link
Author

Hey @iclanton I have added the changelog file as you requested.

KushalMeghani1644 and others added 4 commits August 29, 2025 14:41
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
…8-09-31.json

Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
@KushalMeghani1644
Copy link
Author

@iclanton I removed the explicit type since TypeScript can infer that i is a number from the initialization. However, I understand if you prefer declaring types explicitly, I have added it back though, as suggested by you :)

@github-project-automation github-project-automation bot moved this from In Progress to Closed in Bug Triage Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants