Skip to content

Commit

Permalink
fix: hide internal symbol names
Browse files Browse the repository at this point in the history
closes #20
  • Loading branch information
mxsdev committed Nov 16, 2022
1 parent 0c34a24 commit b9b49ff
Show file tree
Hide file tree
Showing 11 changed files with 75,626 additions and 195 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ function _generateTypeTree(
const isReadonly = isReadonlySymbol(tsCtx, symbol)

return {
name: symbol.getName(),
name: typeChecker.symbolToString(symbol),
flags: symbol.getFlags(),
...(isReadonly && { readonly: true }),
...(isAnonymous && { anonymous: true }),
Expand Down
Loading

0 comments on commit b9b49ff

Please sign in to comment.