There are a bunch of useful functions in utilities.ts that just test against a node kind, such as isImportClause. Currently these are all @internal. Could these be made public?
This would help slim down tsutils, which duplicates much of this behavior. Predicates like isDeclaration would be especially hard to maintain duplicates of.
There are a bunch of useful functions in
utilities.tsthat just test against a node kind, such asisImportClause. Currently these are all@internal. Could these be made public?This would help slim down tsutils, which duplicates much of this behavior. Predicates like
isDeclarationwould be especially hard to maintain duplicates of.