Skip to content

Commit 03b326c

Browse files
committed
Merge pull request microsoft#963 from natalieethell/addUIDsToExtends
[api-documenter] fix _getTypeNameWithDot and link implements and extends to uid (cherry picked from commit 8d0fcab) # Conflicts: # apps/api-documenter/src/yaml/YamlDocumenter.ts
1 parent 3e3b1ec commit 03b326c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/api-documenter/src/documenters/YamlDocumenter.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,11 @@ export class YamlDocumenter {
360360
private _populateYamlClassOrInterface(yamlItem: Partial<IYamlItem>, apiItem: ApiDocumentedItem): void {
361361
/*
362362
if (apiStructure.extends) {
363-
yamlItem.extends = [ apiStructure.extends ];
363+
yamlItem.extends = [ this._linkToUidIfPossible(apiStructure.extends) ];
364364
}
365365
366366
if (apiStructure.implements) {
367-
yamlItem.implements = [ apiStructure.implements ];
367+
yamlItem.implements = [ this._linkToUidIfPossible(apiStructure.implements) ];
368368
}
369369
*/
370370

0 commit comments

Comments
 (0)