Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 62f2e68

Browse files
author
Neil Fraser
committed
Fix JSDoc for optional params
1 parent ffe7c7b commit 62f2e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎javascript/diff_match_patch_uncompressed.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,9 +1663,9 @@ diff_match_patch.prototype.patch_addContext_ = function(patch, text) {
16631663
*
16641664
* @param {string|!Array.<!diff_match_patch.Diff>} a text1 (methods 1,3,4) or
16651665
* Array of diff tuples for text1 to text2 (method 2).
1666-
* @param {string|!Array.<!diff_match_patch.Diff>} opt_b text2 (methods 1,4) or
1666+
* @param {string|!Array.<!diff_match_patch.Diff>=} opt_b text2 (methods 1,4) or
16671667
* Array of diff tuples for text1 to text2 (method 3) or undefined (method 2).
1668-
* @param {string|!Array.<!diff_match_patch.Diff>} opt_c Array of diff tuples
1668+
* @param {string|!Array.<!diff_match_patch.Diff>=} opt_c Array of diff tuples
16691669
* for text1 to text2 (method 4) or undefined (methods 1,2,3).
16701670
* @return {!Array.<!diff_match_patch.patch_obj>} Array of Patch objects.
16711671
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /