Skip to content

Commit

Permalink
handle literals
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Apr 8, 2024
1 parent 5465689 commit 586bb15
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const typeSyntaxKindToString = (kind: ts.SyntaxKind) => {
return 'null'
case ts.SyntaxKind.AnyKeyword:
return 'any'
case ts.SyntaxKind.TypeLiteral:
return 'literal'
}
throw new Error('unhandled kind: ' + kind)
}
Expand Down

0 comments on commit 586bb15

Please sign in to comment.