Skip to content

Type alias: FormulaOptions<ParamDefsT, DefT>

core.FormulaOptions

Ƭ FormulaOptions<ParamDefsT, DefT>: Omit<DefT, "validateParameters"> & { validateParameters?: MetadataFormulaDef<ExecutionContext, ParameterValidationResult> }

A wrapper type that allows you to specify a formula definition where the validateParameters function may be a function definition or a metadata formula definition.

Type parameters

Name Type
ParamDefsT extends ParamDefs
DefT extends CommonPackFormulaDef<ParamDefsT>

Defined in

api.ts:1754