Skip to content
Permalink
Browse files

Fix JSDoc for optional params

  • Loading branch information...
NeilFraser committed Jul 25, 2019
1 parent ffe7c7b commit 62f2e689f498f9c92dbc588c58750addec9b1654
Showing with 2 additions and 2 deletions.
  1. +2 −2 javascript/diff_match_patch_uncompressed.js
@@ -1663,9 +1663,9 @@ diff_match_patch.prototype.patch_addContext_ = function(patch, text) {
*
* @param {string|!Array.<!diff_match_patch.Diff>} a text1 (methods 1,3,4) or
* Array of diff tuples for text1 to text2 (method 2).
* @param {string|!Array.<!diff_match_patch.Diff>} opt_b text2 (methods 1,4) or
* @param {string|!Array.<!diff_match_patch.Diff>=} opt_b text2 (methods 1,4) or
* Array of diff tuples for text1 to text2 (method 3) or undefined (method 2).
* @param {string|!Array.<!diff_match_patch.Diff>} opt_c Array of diff tuples
* @param {string|!Array.<!diff_match_patch.Diff>=} opt_c Array of diff tuples
* for text1 to text2 (method 4) or undefined (methods 1,2,3).
* @return {!Array.<!diff_match_patch.patch_obj>} Array of Patch objects.
*/

0 comments on commit 62f2e68

Please sign in to comment.
You can’t perform that action at this time.