function getCurrentExpectedTypes(type) {
		var currentType;
		var expectedType;

		if (type.name) {
			currentType = type.name;
		} else if (type.expression) {
			currentType = type.expression.name;
		}

		expectedType = currentType && preferType[currentType];

		return {
			currentType: currentType,
			expectedType: expectedType
		};
	}
function getCurrentExpectedTypes(type) {
		var currentType;
		var expectedType;

		if (type.name) {
			currentType = type.name;
		} else if (type.expression) {
			currentType = type.expression.name;
		}

		expectedType = currentType && preferType[currentType];

		return {
			currentType: currentType,
			expectedType: expectedType
		};
	}
function getCurrentExpectedTypes ( type ) { var currentType ; var expectedType ; if ( type . name ) { currentType = type . name ; } else if ( type . expression ) { currentType = type . expression . name ; } expectedType = currentType && preferType [ currentType ] ; return { currentType : currentType , expectedType : expectedType } ; }
Extract the current and expected type based on the input type object
@param {Object} type JSDoc tag
@returns {Object} current and expected type object
@private
Extract the current and expected type based on the input type object