Skip to content

fix(typo): correct 'paramters' typo in compiler completion label and http-server-js doc comment - #12436

Open
RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
microsoft:mainfrom
Jah-yee:fix/paramters-typo
Open

RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
microsoft:mainfrom
Jah-yee:fix/paramters-typo

Conversation

@Jah-yee

Copy link
Copy Markdown
Contributor

Summary

Fixes two misspelled occurrences of paramters (should be parameters) in the TypeSpec repository.

Changes

packages/compiler/src/server/tspconfig/completion.ts

  • Line 496: the completion label for custom tspconfig variables read Custom paramters variables. It is now Custom parameters variables. This is user-visible text in the tspconfig YAML completion list, so the label is corrected.

packages/http-server-js/src/util/differentiate.ts

  • Line 609: the doc comment on DifferentiateModelOptions read Optional paramters for model differentiation. It is now Optional parameters for model differentiation. This is a comment-only change; no runtime behavior is affected.

Verification

  • grep -rn "paramters" packages/ returns no matches after the change (both occurrences are fixed and no other file in packages/ contains the misspelling).
  • The only other occurrences of paramters in the repository are inside CHANGELOG/release-note files, which are historical records and intentionally left untouched.
  • No test snapshot or fixture references the old strings, so no snapshot update is required.

Change entries

Two Chronus change entries are included, following .chronus/config.yaml:

  • .chronus/changes/fix-paramters-typo-compiler-2026-10-29-13-55-0.md — changeKind: fix for @typespec/compiler (user-visible completion label).
  • .chronus/changes/fix-paramters-typo-http-server-js-2026-10-29-13-55-0.md — changeKind: internal for @typespec/http-server-js (comment-only change).

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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.

🟢 Approval recommended

No active review issues were identified for the spelling corrections and accompanying Chronus entries.

No open issues 🎉

What changed in this PR

Corrects two spelling errors in TypeSpec: user-visible compiler completion text and an HTTP server JavaScript documentation comment. No runtime logic changes.

Changes:

  • Replaces paramters with parameters in both locations.
  • Adds separate Chronus entries for the compiler fix and comment-only change.
File Description
packages/​http-server-js/​src/​util/​differentiate.ts Corrects the DifferentiateModelOptions doc comment.
packages/​compiler/​src/​server/​tspconfig/​completion.ts Corrects custom-variable completion text.
.chronus/​changes/​fix-paramters-typo-http-server-js-2026-10-29-13-55-0.md Records the comment correction as an internal change.
.chronus/​changes/​fix-paramters-typo-compiler-2026-10-29-13-55-0.md Records the user-visible compiler fix.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants