transform
external fun <T : Node> transform(source: T, transformers: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<{typescript/TransformerFactory<T>=} kotlin/Function1<@R|kotlin/ParameterName|(name = String(context)) typescript/TransformationContext, typescript/Transformer<T>>>, compilerOptions: CompilerOptions = definedExternally): TransformationResult<T>(source)
external fun <T : Node> transform(source: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<T>, transformers: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<{typescript/TransformerFactory<T>=} kotlin/Function1<@R|kotlin/ParameterName|(name = String(context)) typescript/TransformationContext, typescript/Transformer<T>>>, compilerOptions: CompilerOptions = definedExternally): TransformationResult<T>(source)
Transform one or more nodes using the supplied transformers.
Parameters
source
A single Node
or an array of Node
objects.
transformers
An array of TransformerFactory
callbacks used to process the transformation.
compilerOptions
Optional compiler options.