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

Wraps the sync execution in a resolved Promise for interface compatibility.

Parameters

rules: readonly string[]
optional
context: ITransformationContext

Return Type

Promise<readonly string[]>

Usage

import { SyncTransformation } from ".";