Widens authored descriptors into render descriptors.
⚠️ A spread rather than an assertion. RenderField carries an index signature and
FeatureInfoFieldConfig does not, so TypeScript refuses the direct assignment
even though every property is compatible — the copy is what makes the widening
legal instead of merely asserted. Also the single place the two shapes meet, so a
divergence between them surfaces here rather than at each call site.
Widens authored descriptors into render descriptors.
⚠️ A spread rather than an assertion.
RenderFieldcarries an index signature andFeatureInfoFieldConfigdoes not, so TypeScript refuses the direct assignment even though every property is compatible — the copy is what makes the widening legal instead of merely asserted. Also the single place the two shapes meet, so a divergence between them surfaces here rather than at each call site.