Inference requires the options object to have literal types. An options object
annotated as const opts: NumericQuantityOptions = { ... } widens every option to
boolean | undefined, so the return type is the full
number | bigint | NumericQuantityVerboseResult union. Use
satisfies NumericQuantityOptions instead of a : annotation to retain literal
inference.
Resolves the return type of numericQuantity based on the options provided.