Factory function to create an OptionsConfig object with strong typing.
OptionsConfig
The config for the options.
Factory function to create an
OptionsConfig
object with strong typing.