commit | cfd5020c0cfcdca1ad0e7e48e522e0cc0fe58dd8 | [log] [tgz] |
---|---|---|
author | Jack Franklin <[email protected]> | Wed Sep 09 11:47:31 2020 |
committer | Commit Bot <[email protected]> | Thu Sep 10 06:34:18 2020 |
tree | 4b5ebfb75f65879286ac391b59a7b12271305a4e | |
parent | 91dfe934c736c0d0da8ad8a71447c53ff511f789 [diff] [blame] |
Fix optional params in bridges function types This fixes a bug where parameters in Closure functions weren't given the right combo of non-nullable plus optional tokens. Fixed: 1126338 Change-Id: I2be2db38bec3dbf278a4bff208dc057447c6ed81 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2401016 Commit-Queue: Simon Zünd <[email protected]> Reviewed-by: Simon Zünd <[email protected]> Auto-Submit: Jack Franklin <[email protected]>
diff --git a/front_end/elements/ComputedStyleProperty_bridge.js b/front_end/elements/ComputedStyleProperty_bridge.js index 724068d..704a8a9 100644 --- a/front_end/elements/ComputedStyleProperty_bridge.js +++ b/front_end/elements/ComputedStyleProperty_bridge.js
@@ -17,7 +17,7 @@ * inherited:boolean, * traceable:boolean, * expanded:boolean, -* onNavigateToSource:function(Event):void, +* onNavigateToSource:function(!Event=):void, * }} */ // @ts-ignore we export this for Closure not TS