From 55e2ce4f06ea10765e547684e46c58b8d68cd20a Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Tue, 19 May 2020 19:35:50 -0400 Subject: [PATCH] Update function types --- .../web_app/ui_components/outline-server-view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server_manager/web_app/ui_components/outline-server-view.js b/src/server_manager/web_app/ui_components/outline-server-view.js index 73b37ab2..7369c446 100644 --- a/src/server_manager/web_app/ui_components/outline-server-view.js +++ b/src/server_manager/web_app/ui_components/outline-server-view.js @@ -645,7 +645,7 @@ export class ServerView extends DirMixin(PolymerElement) { this.isServerReachable = false; /** * Callback for retrying to display an unreachable server. - * @type {Function} + * @type {() => void)} */ this.retryDisplayingServer = null; /** @@ -671,7 +671,7 @@ export class ServerView extends DirMixin(PolymerElement) { this.accessKeySortBy = 'name'; /** The direction to sort: 1 == ascending, -1 == descending */ this.accessKeySortDirection = 1; - /** @type {Function} */ + /** @type {(msgId: string, ...params: string[]) => string} */ this.localize = null; }