Skip to content

Commit

Permalink
Fix getMimeTypesArray return documentation (#7441)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jun 21, 2018
1 parent 2c2189c commit 5e9922b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/mediaupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import apiRequest from '@wordpress/api-request';
* @param {?Object} wpMimeTypesObject Mime type object received from the server.
* Extensions are keys separated by '|' and values are mime types associated with an extension.
*
* @return {?Array} Media Object Promise.
* @return {?Array} An array of mime types or the parameter passed if it was "falsy".
*/
export function getMimeTypesArray( wpMimeTypesObject ) {
if ( ! wpMimeTypesObject ) {
Expand Down

0 comments on commit 5e9922b

Please sign in to comment.