OptionalapiPublic API instance passed to the coordinator.
OptionalconfigPlugin configuration from TransformationConfig.pluginConfig.
OptionalfileAbsolute path of the source file.
OptionaloptionsRun options derived from TransformationConfig.
OptionalautoSave?: booleanSave changes after the transform. Default true.
OptionaldryRun?: booleanDo not write changes. Default false.
Optionalformat?: booleanFormat code after the transform. Default true.
ts-morph project that owns TransformContext.sourceFile.
File being transformed.
OptionaltypeContext kind; the coordinator sets 'transform'.
Context provided to transformation rules.