Function isDeclarationWithTypeParameterChildren

  • Test if a node is a DeclarationWithTypeParameterChildren.

    Parameters

    • node: Node

    Returns node is DeclarationWithTypeParameterChildren

    Whether the given node appears to be a DeclarationWithTypeParameterChildren.

    Example

    declare const node: ts.Node;

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