Skip to content

Commit 1554258

Browse files
authored
chore: update the Type.toString to support output auto (#2879)
1 parent dfc8a65 commit 1554258

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/types.ts

+3
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,9 @@ export class Type {
653653
}
654654
}
655655
}
656+
if (this == Type.auto) {
657+
return "auto";
658+
}
656659
return this.kindToString();
657660
}
658661

0 commit comments

Comments
 (0)