Is there a way to get the line number of node from typescript compiler API?

Viewed 1367

I know that we can get the position of a node using node.pos but is there a way of getting the line number of the node? Something like node.lineNumber?

1 Answers
Related