Skip to content

Make node type predicates public #15811

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions