Skip to content

Fix minor typos in protocol.ts #63475

Closed
iamdaven wants to merge 1 commit into
microsoft:mainfrom
iamdaven:patch-1
Closed

Fix minor typos in protocol.ts #63475
iamdaven wants to merge 1 commit into
microsoft:mainfrom
iamdaven:patch-1

Conversation

@iamdaven
Copy link
Copy Markdown

No tests required — this change only corrects spelling in JSDoc comments
and does not affect any runtime behavior or public API.

Copilot AI review requested due to automatic review settings May 14, 2026 07:26
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog May 14, 2026
@typescript-bot
Copy link
Copy Markdown
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

1 similar comment
@typescript-bot
Copy link
Copy Markdown
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@typescript-bot typescript-bot added For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 14, 2026
@typescript-bot
Copy link
Copy Markdown
Collaborator

Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping @sheetalkamat, @mjbvz, and @joj for you. Feel free to loop in other consumers/maintainers if necessary.

Copy link
Copy Markdown
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 updates src/server/protocol.ts, primarily correcting spelling in protocol JSDoc, but it also adjusts the QuickInfoRequest protocol typing and changes the structure of the trailing type-assertion scope.

Changes:

  • Fixes multiple typos in JSDoc comments (e.g. “changes” → “changed”, “declarartion” → “declaration”, “arry” → “array”).
  • Updates QuickInfoRequest.arguments to use QuickInfoRequestArgs (so verbosityLevel is representable in the request type).
  • Replaces a trailing block scope with an internal namespace _assertTypesComplete wrapper for type assertions.

Comment thread src/server/protocol.ts
Comment on lines 2003 to 2007
export interface QuickInfoRequest extends FileLocationRequest {
command: CommandTypes.Quickinfo;
arguments: FileLocationRequestArgs;
// FIX: was FileLocationRequestArgs, which silently dropped verbosityLevel
arguments: QuickInfoRequestArgs;
}
Comment thread src/server/protocol.ts
Comment on lines +2005 to +2006
// FIX: was FileLocationRequestArgs, which silently dropped verbosityLevel
arguments: QuickInfoRequestArgs;
Comment thread src/server/protocol.ts
Comment on lines +3312 to 3314
/** @internal */
namespace _assertTypesComplete {
type AssertKeysComplete<Source extends { [K in keyof Target]: any; }, Target> = Source;
@RyanCavanaugh
Copy link
Copy Markdown
Member

This doesn't meet the 6.0 patch bar. See #62963 (comment)

@github-project-automation github-project-automation Bot moved this from Not started to Done in PR Backlog May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants