Skip to content

Commit

Permalink
chore: update the Type.toString to support output auto (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrCai0907 authored Oct 27, 2024
1 parent dfc8a65 commit 1554258
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,9 @@ export class Type {
}
}
}
if (this == Type.auto) {
return "auto";
}
return this.kindToString();
}

Expand Down

0 comments on commit 1554258

Please sign in to comment.