You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered this tonight, realizing we can't actually get any ClassStaticBlockDeclarationStructure objects via ClassDeclarationNode.prototype.getStructure(). This is one of a few structure types unreachable from a sourceFile.getStructure() call.
Describe the bug
Version: 21.0.1
I discovered this tonight, realizing we can't actually get any
ClassStaticBlockDeclarationStructure
objects viaClassDeclarationNode.prototype.getStructure()
. This is one of a few structure types unreachable from asourceFile.getStructure()
call.To Reproduce
ts-ast-viewer link
Expected behavior
I'd like to call
classDeclaration.getStructure()
and get any static blocks via a field on theClassDeclarationStructure
.Note: I don't have a need for this. I'm filing this for completeness.
The text was updated successfully, but these errors were encountered: