diff --git a/src/types.ts b/src/types.ts index ecfecd5b5f..695b415b26 100644 --- a/src/types.ts +++ b/src/types.ts @@ -653,6 +653,9 @@ export class Type { } } } + if (this == Type.auto) { + return "auto"; + } return this.kindToString(); }