Typecheck media/TickingFlameChart.js with TypeScript

[email protected]

Bug: 1011811
Change-Id: Id93244c6f25dd125c7084cecd9fad3623c29d106
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2510395
Commit-Queue: Tim van der Lippe <[email protected]>
Reviewed-by: Ted Meyer <[email protected]>
Auto-Submit: Tim van der Lippe <[email protected]>
diff --git a/front_end/perf_ui/FlameChart.js b/front_end/perf_ui/FlameChart.js
index 88ee05f..cef3676 100644
--- a/front_end/perf_ui/FlameChart.js
+++ b/front_end/perf_ui/FlameChart.js
@@ -634,7 +634,7 @@
 
   /**
    * @param {string} eventName
-   * @param {function(!Event):undefined} onEvent
+   * @param {function(!Event):void} onEvent
    */
   bindCanvasEvent(eventName, onEvent) {
     this._canvas.addEventListener(eventName, onEvent);