Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: tools/json_schema_compiler/js_externs_generator_test.py

Issue 2768213002: [Closure Externs] Add wrapping parens on optional params (Closed)
Patch Set: . Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/json_schema_compiler/js_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/js_externs_generator_test.py
diff --git a/tools/json_schema_compiler/js_externs_generator_test.py b/tools/json_schema_compiler/js_externs_generator_test.py
index fe7ab688d03c509e18958bc1870dfa061cf175b3..49462b2bbbae847cc4084518460509d5b924c44f 100755
--- a/tools/json_schema_compiler/js_externs_generator_test.py
+++ b/tools/json_schema_compiler/js_externs_generator_test.py
@@ -209,7 +209,7 @@ chrome.fakeApi.bazGreek = function(callback) {};
chrome.fakeApi.returnString = function() {};
/**
- * @param {function(!chrome.fakeApi.Qux|undefined):void=} callback
+ * @param {function((!chrome.fakeApi.Qux|undefined)):void=} callback
* @see https://developer.chrome.com/extensions/fakeApi#method-optionalParam
*/
chrome.fakeApi.optionalParam = function(callback) {};
« no previous file with comments | « no previous file | tools/json_schema_compiler/js_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698