Resolved field values keyed by field name. Positional-field values
and option values share the same flat map per ยง3.3 of the
requirements doc.
The index signature includes undefined so that typed model
extensions (interface FooModel extends CommandModel { target?: string }) remain assignable. With noUncheckedIndexedAccess
enabled the read type was already FieldValue | undefined;
widening the declared shape just makes that explicit.
Resolved field values keyed by field name. Positional-field values and option values share the same flat map per ยง3.3 of the requirements doc.
The index signature includes
undefinedso that typed model extensions (interface FooModel extends CommandModel { target?: string }) remain assignable. WithnoUncheckedIndexedAccessenabled the read type was alreadyFieldValue | undefined; widening the declared shape just makes that explicit.