File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
packages/component-meta/lib Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -567,6 +567,10 @@ function createSchemaResolvers(
567
567
return {
568
568
name : ( typeChecker . getTypeOfSymbolAtLocation ( call . parameters [ 0 ] , symbolNode ) as ts . StringLiteralType ) . value ,
569
569
description : ts . displayPartsToString ( call . getDocumentationComment ( typeChecker ) ) ,
570
+ tags : call . getJsDocTags ( ) . map ( tag => ( {
571
+ name : tag . name ,
572
+ text : tag . text !== undefined ? ts . displayPartsToString ( tag . text ) : undefined ,
573
+ } ) ) ,
570
574
type : typeChecker . typeToString ( subtype ) ,
571
575
rawType : rawType ? subtype : undefined ,
572
576
signature : typeChecker . signatureToString ( call ) ,
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export interface EventMeta {
40
40
type : string ;
41
41
rawType ?: ts . Type ;
42
42
signature : string ;
43
+ tags : { name : string , text ?: string ; } [ ] ;
43
44
declarations : Declaration [ ] ;
44
45
schema : PropertyMetaSchema [ ] ;
45
46
}
You can’t perform that action at this time.
0 commit comments