Function replaceChild

  • Type Parameters

    • T extends Node

    Parameters

    • target: Node
    • node: Node
    • child: T

    Returns T