Skip to content

Commit 70b191a

Browse files
committed
PR feedback
1 parent d427168 commit 70b191a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎libraries/api-documenter/src/yaml/IYamlTocFile.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export interface IYamlTocItem {
1414
* If specified, the hyperlink will point to the API with this UID
1515
*/
1616
uid?: string;
17+
1718
/**
1819
* IF specified, the hyperlink will point to this URL, which may be a relative URL path
1920
*/

‎libraries/api-documenter/src/yaml/YamlGenerator.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ export class YamlGenerator {
236236
break;
237237
case DocItemKind.Class:
238238
yamlItem.type = 'class';
239-
this._populateYamlStructure(yamlItem, docItem);
239+
this._populateYamlClassOrInterface(yamlItem, docItem);
240240
break;
241241
case DocItemKind.Interface:
242242
yamlItem.type = 'interface';
243-
this._populateYamlStructure(yamlItem, docItem);
243+
this._populateYamlClassOrInterface(yamlItem, docItem);
244244
break;
245245
case DocItemKind.Method:
246246
yamlItem.type = 'method';
@@ -268,7 +268,7 @@ export class YamlGenerator {
268268
return yamlItem as IYamlItem;
269269
}
270270

271-
private _populateYamlStructure(yamlItem: Partial<IYamlItem>, docItem: DocItem): void {
271+
private _populateYamlClassOrInterface(yamlItem: Partial<IYamlItem>, docItem: DocItem): void {
272272
const apiStructure: IApiClass | IApiInterface = docItem.apiItem as IApiClass | IApiInterface;
273273

274274
let text: string = '';

0 commit comments

Comments
 (0)