How to get the original text of an AstNode
? AbstractCstNode.text
returns undefined
#1028
-
Hi, I need to retrieve the original text of an Thanks in advance, I appreciate it. Best. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hey @rpedrosanto, Using the |
Beta Was this translation helpful? Give feedback.
-
It turns out that the problem is I have a web worker and I was losing the types during serialization when communicating with it. |
Beta Was this translation helpful? Give feedback.
I see, we used to have a similar issue. We addressed this by adding some more functionality to the
JsonSerializer
service. Take a look at the serializer options interface.