ts-api-utils - v3.0.0-rc.1
    Preparing search index...

    Function isTypeReferenceType

    • Test if a node is a TypeReferenceType.

      Parameters

      • node: Node

      Returns node is TypeReferenceType

      Whether the given node appears to be a TypeReferenceType.

      declare const node: ts.Node;

      if (isTypeReferenceType(node)) {
      // ...
      }