Skip to content

Commit

Permalink
docs(vscode): todo for including type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsdev committed Oct 12, 2022
1 parent 802e9f5 commit 192efe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/typescript-explorer/src/view/typeTreeView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ class TypeNodeGroup extends TypeTreeItem {
}
}

// TODO: include type aliases; e.g.: <label> Alias (kind)
function generateTypeNodeMeta(info: ResolvedTypeInfo, dimension: number, {purpose, optional}: TypeNodeArgs = {}) {
const isOptional = info.symbolMeta?.optional || optional || ((info.symbolMeta?.flags ?? 0) & ts.SymbolFlags.Optional)
const isRest = info.symbolMeta?.rest
Expand Down

0 comments on commit 192efe0

Please sign in to comment.