Type alias OptionWeightsTuple<T>

OptionWeightsTuple<T>: [option: T, weights: number | WeightFn]

[option, weights] 元组

Type Parameters

  • T