commit | 403a88dd52fcb57e04375b2dc77b79250d060c15 | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Wed May 13 11:51:32 2020 |
committer | Commit Bot <[email protected]> | Wed May 13 14:09:01 2020 |
tree | de61a3a485092d0866ea993f96d3aedaa8c2f8d8 | |
parent | 6f60dca88247f77e4511c801a3908ce3f119e72f [diff] [blame] |
Add missing return types for function parameters in ui/ These are required for the upcoming TypeScript 3.9.2 upgrade. [email protected] Bug: 1011811 Change-Id: Ibb7000f4c70863549bf6ce160a9fb89cb163e6f7 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2199122 Commit-Queue: Jack Franklin <[email protected]> Reviewed-by: Jack Franklin <[email protected]> Auto-Submit: Tim van der Lippe <[email protected]>
diff --git a/front_end/ui/Widget.js b/front_end/ui/Widget.js index 8c86d3f..2e2fc1e 100644 --- a/front_end/ui/Widget.js +++ b/front_end/ui/Widget.js
@@ -166,7 +166,7 @@ } /** - * @param {function(this:Widget)} method + * @param {function(this:Widget):void} method */ _callOnVisibleChildren(method) { const copy = this._children.slice(); @@ -218,7 +218,7 @@ } /** - * @param {function(this:Widget)} notification + * @param {function(this:Widget):void} notification */ _notify(notification) { ++this._notificationDepth; @@ -718,7 +718,7 @@ */ export class VBoxWithResizeCallback extends VBox { /** - * @param {function()} resizeCallback + * @param {function():void} resizeCallback */ constructor(resizeCallback) { super();