Apologies, it's not a bug; rather, I have an inquiry.
Is there an API function in ts-morph for retrieving the next property in the sequence foo.bar.baz? Specifically, I am positioned at bar, and I would like to obtain the subsequent property, which in this example is baz but could also be ['baz'].
Currently, I examine the AST tree by checking the parent and child relationships to determine the next property, but I'm curious if ts-morph offers a built-in solution for this.
Apologies, it's not a bug; rather, I have an inquiry.
Is there an API function in ts-morph for retrieving the next property in the sequence
foo.bar.baz
? Specifically, I am positioned atbar
, and I would like to obtain the subsequent property, which in this example isbaz
but could also be['baz']
.Currently, I examine the AST tree by checking the parent and child relationships to determine the next property, but I'm curious if ts-morph offers a built-in solution for this.