File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/api-documenter/src/yaml Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -314,11 +314,11 @@ export class YamlDocumenter {
314314 const apiStructure : IApiClass | IApiInterface = docItem . apiItem as IApiClass | IApiInterface ;
315315
316316 if ( apiStructure . extends ) {
317- yamlItem . extends = [ apiStructure . extends ] ;
317+ yamlItem . extends = [ this . _linkToUidIfPossible ( apiStructure . extends ) ] ;
318318 }
319319
320320 if ( apiStructure . implements ) {
321- yamlItem . implements = [ apiStructure . implements ] ;
321+ yamlItem . implements = [ this . _linkToUidIfPossible ( apiStructure . implements ) ] ;
322322 }
323323
324324 if ( apiStructure . isSealed ) {
@@ -547,7 +547,7 @@ export class YamlDocumenter {
547547 if ( hierarchy . length > 0 && hierarchy [ 0 ] . kind === DocItemKind . Package ) {
548548 hierarchy . shift ( ) ; // ignore the package qualifier
549549 }
550- if ( hierarchy . length < 1 ) {
550+ if ( hierarchy . length < 2 ) {
551551 return undefined ;
552552 }
553553 return hierarchy . map ( x => x . name ) . join ( '.' ) ;
You can’t perform that action at this time.
0 commit comments