function tagTypes( section ) {
		var correction;
		var type;
		var tag;
		var i;

		for ( i = 0; i < section.tags.length; i++ ) {
			tag = section.tags[ i ];
			type = tag.type;
			if ( type.type === 'UnionType' ) {
				checkUnion( type, section );
			}
			if ( type.type === 'TypedObject' ) {
				checkTypedObject( type, section );
			}
			if ( type.name && indexOf( opts.types, type.name ) === -1 ) {
				correction = correctTypedef( type.name );
				if ( correction ) {
					context.report( '"'+type.name+'" type definition should be "'+correction+'"', section );
				}
			}
		}
	}
Checks whether tags likely have typos in type definitions.

@private
@param {Object} section - parameters or return section