A helper function to define the configuration object with proper types.
The configuration object or array of objects to define.
The defined configuration object or array of objects.
A helper function to define the configuration object with proper types.