Category "ts-morph"

How to access FlowNode in typescript ast api?

I try to resolve foo and bar from nodes variable. After I checked at ts-ast-viewer you can see in the picture that typescript can know about foo and bar from no

how to get an object literal properties with ts-morph

I am parsing a file like this using ts-morph const a = {property1: 20, property2: 30} I can't seem to figure out how to get an ObjectLiteralExpression mention