Type alias: NumericFormulaDef<ParamDefsT>¶
Ƭ NumericFormulaDef<ParamDefsT
>: BaseFormulaDef
<ParamDefsT
, number
> & { resultType
: Number
; execute
: (params
: ParamValues
<ParamDefsT
>, context
: ExecutionContext
) => number
| Promise
<number
> } & { schema?
: NumberSchema
} | { codaType?
: NumberHintTypes
}
A definition accepted by makeFormula for a formula that returns a number.
Type parameters¶
Name | Type |
---|---|
ParamDefsT |
extends ParamDefs |