Factory function to create an OptionConfig object with strong typing.
The option type (e.g., 'string', 'number').
The alias names for the option.
The config for the option.
A constructed OptionConfig object with strong types.
OptionConfig
Factory function to create an OptionConfig object with strong typing.