Skip to content

API reference > @kontsedal/olas-codemod > RunResult

RunResult type ​

What runCodemod returns. The run edits the files in memory only, so the caller saves changed and prints todos.

Signature:

typescript
type RunResult = {
  readonly summaries: readonly TransformSummary[];
  readonly todos: readonly Todo[];
  readonly changed: readonly SourceFile[];
};

References: TransformSummary, Todo

Released under the MIT License.