File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/complex-types/src/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export class Printer {
1313 ) ;
1414 }
1515
16- private printOuterUnionOrIntersection (
16+ private printUnionOrIntersection (
1717 type : ts . UnionOrIntersectionType ,
1818 separator : string ,
1919 inner : boolean ,
@@ -51,9 +51,9 @@ export class Printer {
5151
5252 private printType ( type : ts . Type , inner = false ) : string {
5353 if ( type . isUnion ( ) ) {
54- return this . printOuterUnionOrIntersection ( type , " | " , inner ) ;
54+ return this . printUnionOrIntersection ( type , " | " , inner ) ;
5555 } else if ( type . isIntersection ( ) ) {
56- return this . printOuterUnionOrIntersection ( type , " & " , inner ) ;
56+ return this . printUnionOrIntersection ( type , " & " , inner ) ;
5757 }
5858 // WIP
5959 if ( this . typeToString ( type ) . endsWith ( "[]" ) ) {
You can’t perform that action at this time.
0 commit comments