@@ -359,13 +359,13 @@ function renderComment(comment?: TypeDoc.Comment) {
359359 // Otherwise render it as a comment ie. No domains configured
360360 tag . content . length === 1 && tag . content [ 0 ] . kind === "code"
361361 ? `**Default** ${ renderType (
362- new TypeDoc . IntrinsicType (
363- tag . content [ 0 ] . text
364- . replace ( / ` / g, "" )
365- . replace ( / { / g, "{" )
366- . replace ( / } / g, "}" ) ,
367- ) ,
368- ) } `
362+ new TypeDoc . IntrinsicType (
363+ tag . content [ 0 ] . text
364+ . replace ( / ` / g, "" )
365+ . replace ( / { / g, "{" )
366+ . replace ( / } / g, "}" ) ,
367+ ) ,
368+ ) } `
369369 : `**Default** ${ tag . content . map ( ( c ) => c . text ) } ` ,
370370 `</InlineSection>` ,
371371 ]
@@ -498,8 +498,8 @@ function renderType(type: TypeDoc.SomeType): Text {
498498 function renderArrayType ( type : TypeDoc . ArrayType ) {
499499 return type . elementType . type === "union"
500500 ? `<code class="symbol">(</code>${ renderType (
501- type . elementType ,
502- ) } <code class="symbol">)[]</code>`
501+ type . elementType ,
502+ ) } <code class="symbol">)[]</code>`
503503 : `${ renderType ( type . elementType ) } <code class="symbol">[]</code>`
504504 }
505505 function renderTypescriptType ( type : TypeDoc . ReferenceType ) {
@@ -563,17 +563,17 @@ function flattenNestedTypes(
563563 { prefix, subType, depth } ,
564564 ...( subType . kind === TypeDoc . ReflectionKind . Property
565565 ? flattenNestedTypes (
566- subType . type ! ,
567- `${ prefix } .${ subType . name } ` ,
568- depth + 1 ,
569- )
566+ subType . type ! ,
567+ `${ prefix } .${ subType . name } ` ,
568+ depth + 1 ,
569+ )
570570 : [ ] ) ,
571571 ...( subType . kind === TypeDoc . ReflectionKind . Accessor
572572 ? flattenNestedTypes (
573- subType . getSignature ?. type ! ,
574- `${ prefix } .${ subType . name } ` ,
575- depth + 1 ,
576- )
573+ subType . getSignature ?. type ! ,
574+ `${ prefix } .${ subType . name } ` ,
575+ depth + 1 ,
576+ )
577577 : [ ] ) ,
578578 ] )
579579 }
@@ -626,7 +626,7 @@ function saveFile(moduleName: string, content: any[]) {
626626
627627function configureLogger ( ) {
628628 if ( process . env . DEBUG ) return
629- console . debug = ( ) => { }
629+ console . debug = ( ) => { }
630630}
631631
632632async function build ( ) {
@@ -667,4 +667,4 @@ async function build() {
667667 return project
668668}
669669
670- async function generate ( ) { }
670+ async function generate ( ) { }
0 commit comments