function normalizeOptions(optionValue){if(typeof optionValue==="string"){return{arrays:optionValue,objects:optionValue,imports:optionValue,exports:optionValue,// For backward compatibility, always ignore functions.
functions:"ignore"};}if((typeof optionValue==="undefined"?"undefined":_typeof(optionValue))==="object"&&optionValue!==null){return{arrays:optionValue.arrays||DEFAULT_OPTIONS.arrays,objects:optionValue.objects||DEFAULT_OPTIONS.objects,imports:optionValue.imports||DEFAULT_OPTIONS.imports,exports:optionValue.exports||DEFAULT_OPTIONS.exports,functions:optionValue.functions||DEFAULT_OPTIONS.functions};}return DEFAULT_OPTIONS;}//------------------------------------------------------------------------------
Normalize option value.

@param {string|Object|undefined} optionValue - The 1st option value to normalize.
@returns {Object} The normalized option value.