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
First things first! What an amazing tool. Saved a bunch of time! ❤️
Flags for factory.createVariableDeclarationList seems to be off. In this simple example shouldn't the flag be ts.NodeFlags.Const only? ts.NodeFlags.Const | ts.NodeFlags.Constant | ts.NodeFlags.Constant === 6 and according to the viewer the actual value is 2.
First things first! What an amazing tool. Saved a bunch of time! ❤️
Flags for
factory.createVariableDeclarationList
seems to be off. In this simple example shouldn't the flag bets.NodeFlags.Const
only?ts.NodeFlags.Const | ts.NodeFlags.Constant | ts.NodeFlags.Constant === 6
and according to the viewer the actual value is2
.Playground link: https://ts-ast-viewer.com/#code/KYDwDg9gTgLgBAYwgOwM7wBbADbYnAXjgCIB3abAE2IG4g
Input
Output
When I print that AST I get:
The text was updated successfully, but these errors were encountered: