Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@typespec/compiler"
---

Correct the "paramters" typo in the `tspconfig` completion label for custom variables.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/http-server-js"
---

Correct the "paramters" typo in the `DifferentiateModelOptions` doc comment.
2 changes: 1 addition & 1 deletion packages/compiler/src/server/tspconfig/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function resolveVariableInterpolationCompleteItems(
} else if (/{[^}]*$/.test(curText)) {
// parameters and built-in variables
const result = [
...getVariableCompletionItem(yamlDocNodes, "parameters", "Custom paramters variables"),
...getVariableCompletionItem(yamlDocNodes, "parameters", "Custom parameters variables"),
...["cwd", "project-root"].map((value) => {
const item: CompletionItem = {
label: value,
Expand Down
2 changes: 1 addition & 1 deletion packages/http-server-js/src/util/differentiate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ function overlaps(range: IntegerRange, other: IntegerRange): boolean {
}

/**
* Optional paramters for model differentiation.
* Optional parameters for model differentiation.
*/
interface DifferentiateModelOptions {
/**
Expand Down