Skip to content

Commit 1a54a39

Browse files
committed
chore: rename
1 parent 217f1e1 commit 1a54a39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/complex-types/src/core/printer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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("[]")) {

0 commit comments

Comments
 (0)