visit with typescript - test for leteral #92
Answered
by
wooorm
PhilipBrodovsky
asked this question in
Q&A
-
how to add types to this code? I want to visit all Literal nodes and get text value |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Nov 7, 2022
Replies: 2 comments 5 replies
-
Type your plugin. E.g. https://github.com/retextjs/retext-readability/blob/fc84a20faf4e85efa471a788942d3c9195956e82/index.js#L49 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
PhilipBrodovsky
-
its look like this code solve my problem.. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type your plugin. E.g. https://github.com/retextjs/retext-readability/blob/fc84a20faf4e85efa471a788942d3c9195956e82/index.js#L49