IR_STEPS
How the IR of each format becomes the next one's: IR_STEPS[n] takes format n to n + 1.
import type { IR } from "#codebase/tcmts/core/hash"; import { dropUncontinuedParens } from "#codebase/tcmts/core/migrate"; export const IR_STEPS: Record<number, (ir: IR) => IR> = { 1: dropUncontinuedParens, }