Update file-templating.ts (#2847)
langauges -> languages --------- Co-authored-by: Timothee Guerin <tiguerin@microsoft.com> Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com> Co-authored-by: Allen Zhang <allenzhang@live.com>
This commit is contained in:
Родитель
09aae4cbd1
Коммит
b4b0bbbc9d
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||||
|
changeKind: internal
|
||||||
|
packages:
|
||||||
|
- "@typespec/compiler"
|
||||||
|
---
|
|
@ -17,7 +17,7 @@ export type FileTemplatingContext = Omit<InitTemplate, "libraries"> &
|
||||||
toLowerCase: () => (text: string, render: any) => string;
|
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;
|
normalizePackageName: () => (text: string, render: any) => string;
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче