joaompneves/tsviz

Allow PopertyDeclarations

pitjow opened this issue · 1 comments

In ts-analyser.ts only GetAccessor and SetAccessor are selected in the case switcher of the analyseNode function. Additionally general PropertyDeclaration should be allowed, otherwiese normal "fields" will never appear in the uml. I used this:

case ts.SyntaxKind.PropertyDeclaration:
case ts.SyntaxKind.GetAccessor:
case ts.SyntaxKind.SetAccessor:

It's now supported, check latest version.