Skip to content

Commit

Permalink
Update file-templating.ts (microsoft#2847)
Browse files Browse the repository at this point in the history
langauges -> languages

---------

Co-authored-by: Timothee Guerin <[email protected]>
Co-authored-by: Timothee Guerin <[email protected]>
Co-authored-by: Allen Zhang <[email protected]>
  • Loading branch information
4 people authored Feb 20, 2024
1 parent 09aae4c commit b4b0bbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .chronus/changes/patch-1-2024-1-9-1-37-54.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: internal
packages:
- "@typespec/compiler"
---
2 changes: 1 addition & 1 deletion packages/compiler/src/init/file-templating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type FileTemplatingContext = Omit<InitTemplate, "libraries"> &
toLowerCase: () => (text: string, render: any) => string;

/**
* Normalize package name for langauges other than C#. It replaces `.` with `-` and toLowerCase
* Normalize package name for languages other than C#. It replaces `.` with `-` and toLowerCase
*/
normalizePackageName: () => (text: string, render: any) => string;
};
Expand Down

0 comments on commit b4b0bbb

Please sign in to comment.