CostOptions
CostOptions configures checker cost computation.
Properties
Section titled “Properties”overloadCostEstimates?
Section titled “overloadCostEstimates?”
optionaloverloadCostEstimates?:Record<string,FunctionEstimator>
overloadCostEstimates overrides the estimate for specific overload ids.
presenceTestHasCost?
Section titled “presenceTestHasCost?”
optionalpresenceTestHasCost?:boolean
presenceTestHasCost determines whether has() contributes one unit of cost.
Defaults to true.