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