• Transform one or more nodes using the supplied transformers.

    Type Parameters

    • T extends Node

    Parameters

    • source: T | T[]

      A single Node or an array of Node objects.

    • transformers: TransformerFactory<T>[]

      An array of TransformerFactory callbacks used to process the transformation.

    • OptionalcompilerOptions: CompilerOptions

      Optional compiler options.

    Returns TransformationResult<T>