Skip to content

basalt / ai/src / planFix

Function: planFix() ​

> planFix(id, ctx, read): FixOutcome

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

Compute (but don't write) the edits for a rule's fix.

Parameters ​

id ​

string

ctx ​

ProjectContext

read ​

(rel) => string | null

Returns ​

FixOutcome

Released under the MIT License.