method Transformation.prototype.execute
Transformation.prototype.execute(
rules: readonly string[],
): Promise<readonly string[]>

Executes the transformation on the given rules.

Parameters

rules: readonly string[]
  • Array of rules to transform
optional
context: ITransformationContext
  • Optional transformation context

Return Type

Promise<readonly string[]>

Promise resolving to transformed rules

Usage

import { Transformation } from ".";