File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -253,16 +253,18 @@ class PathComputer implements ReflectionVisitor {
253
253
* @returns
254
254
*/
255
255
function renderCommentContent ( content : CommentDisplayPart [ ] ) : Description {
256
- return content . map ( ( x ) => {
257
- if ( x . kind === "code" ) {
258
- return { type : "code" , code : x . text } ;
259
- }
260
- if ( x . kind === "text" ) {
261
- return { type : "text" , text : x . text } ;
262
- }
263
- console . warn ( `Not implemented:` , x ) ;
264
- return null ;
265
- } ) . filter ( Boolean ) as DescriptionItem [ ] ;
256
+ return content
257
+ . map ( ( x ) => {
258
+ if ( x . kind === "code" ) {
259
+ return { type : "code" , code : x . text } ;
260
+ }
261
+ if ( x . kind === "text" ) {
262
+ return { type : "text" , text : x . text } ;
263
+ }
264
+ console . warn ( `Not implemented:` , x ) ;
265
+ return null ;
266
+ } )
267
+ . filter ( Boolean ) as DescriptionItem [ ] ;
266
268
}
267
269
268
270
function renderCommentSummary ( c : Comment | undefined ) : Description {
You can’t perform that action at this time.
0 commit comments