Skip to content

basalt / ai/src / FixApplier

Type Alias: FixApplier ​

> FixApplier = (read, ctx) => FileEdit[] | null

Defined in: ai/src/doctor/fixes.ts:14

Returns the edits a fix would make, [] if there's nothing to change, or null if it can't apply.

Parameters ​

read ​

(rel) => string | null

ctx ​

ProjectContext

Returns ​

FileEdit[] | null

Released under the MIT License.