@@ -525,10 +525,10 @@ define(function (require, exports, module) {
525525
526526 /**
527527 * Gets an array of extensions that are currently installed and can be updated to a new version
528- * @return {Array } array of objects with properies id,installVersion, registryVersion
529- * where id = extensionId
530- * installVersion = currently installed version of extension
531- * registryVersion = latest version compatible with current Brackets
528+ * @return {Array.<{id: string, installVersion: string, registryVersion: string}> }
529+ * where id = extensionId
530+ * installVersion = currently installed version of extension
531+ * registryVersion = latest version compatible with current Brackets
532532 */
533533 function getAvailableUpdates ( ) {
534534 var result = [ ] ;
@@ -550,12 +550,14 @@ define(function (require, exports, module) {
550550 }
551551
552552 /**
553- * Takes array returned from getAvailableUpdates() as an input and removes those entries
553+ * Takes the array returned from getAvailableUpdates() as an input and removes those entries
554554 * that are no longer current - when currently installed version of an extension
555555 * is equal or newer than registryVersion returned by getAvailableUpdates().
556556 * This function is designed to work without the necessity to download extension registry
557- * @param {Array } previous output of getAvailableUpdates()
558- * @param {Array } filtered input as function description
557+ * @param {Array.<{id: string, installVersion: string, registryVersion: string}> } updates
558+ * previous output of getAvailableUpdates()
559+ * @return {Array.<{id: string, installVersion: string, registryVersion: string}> }
560+ * filtered input as function description
559561 */
560562 function cleanAvailableUpdates ( updates ) {
561563 return updates . reduce ( function ( arr , updateInfo ) {
0 commit comments