method SyncTransformation.prototype.executeSync
SyncTransformation.prototype.executeSync(
rules: readonly string[],
): readonly string[]

Synchronously executes the transformation on the given rules.

Parameters

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

Return Type

readonly string[]

Transformed rules

Usage

import { SyncTransformation } from ".";