resolveParamDefs function presentation exported
Last updated: 2026-03-04T23:21:38.421Z
Metrics
LOC: 7
Complexity: 3
Params: 2
Signature
resolveParamDefs(
gen: GeneratorOption,
): : readonly GeneratorParamDef[]
Summary
Returns the param defs for a given generator option.
Source Code
export function resolveParamDefs(
gen: GeneratorOption,
): readonly GeneratorParamDef[] {
if (SPECIAL_GENERATORS.has(gen)) return [];
const key = getGeneratorKey(gen as FieldType) ?? gen;
return getGeneratorParamDefs(key);
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| GeneratorOption | calls |
| FormsTabViewCallbacks | calls |
| handleGeneratorTypeChange | calls |