function checkTypedObject( val, section ) {
		var correction = correctTypedef( val.name );
		if ( correction ) {
			context.report( '"'+val.name+'" type definition should be "'+correction+'"', section );
		}
		correction = correctTypedef( val.of );
		if ( correction ) {
			context.report( '"'+val.of+'" type definition should be "'+correction+'"', section );
		}
	}
Checks the type definitions of a typed object definition such as `Array<number>` for typos.

@private
@param {Object} val - typed object definition
@param {Object} section - function documentation section