Skip to content

Make node type predicates public #15811

Closed

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.

Activity

  1. mhegazy commented on May 13, 2017

    @mhegazy
    Contributor

    Go for it.

  2. ghost closed this as completedin #16121on May 31, 2017
  3. ghost added
    FixedA PR has been merged for this issue
    on May 31, 2017
  4. locked and limited conversation to collaborators on Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: 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