Skip unknown node types
davidbonnet opened this issue · comments
Discussed in #587
Originally posted by stefanprobst November 14, 2021
hi @davidbonnet, what do you think about allowing to (optionally) skip unknown node types? for example the typescript nodes created by @typescript-eslint/typescript-estree
. i know very little about asts, but maybe like this small change? thanks!
The suggested change is incomplete though.
IMHO, it would be more practical to transform the AST using a tool like astravel
which would remove unknown nodes prior rendering them to actual code.