Currently, it's only possible to specify either a) concrete types, or b) aliases. In some cases (especially for debugging purposes), it would be useful to be able to specify a * visitor that fires on any kind of node. Unfortunately @babel/types does not seem to provide an alias for this.
Perhaps this would be useful as a feature in babel-walk?
Currently, it's only possible to specify either a) concrete types, or b) aliases. In some cases (especially for debugging purposes), it would be useful to be able to specify a
*visitor that fires on any kind of node. Unfortunately@babel/typesdoes not seem to provide an alias for this.Perhaps this would be useful as a feature in
babel-walk?