From 07d65077120af67f8b5c519f226e4b5c8805ca23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 30 Oct 2020 09:37:41 +0100 Subject: [PATCH] Make Ui/Page/Action eslint clean --- wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Page/Action.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Page/Action.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Page/Action.ts index b4b97ab32e..83a083ead0 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Page/Action.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Page/Action.ts @@ -85,7 +85,7 @@ function renderContainer() { /** * Initializes the page action container. */ -export function setup() { +export function setup(): void { if (_didInit) { return; } @@ -114,7 +114,7 @@ export function setup() { * insert the button right before it. Unmatched button names or empty value will cause * the button to be prepended to the list. */ -export function add(buttonName: string, button: HTMLElement, insertBeforeButton?: string) { +export function add(buttonName: string, button: HTMLElement, insertBeforeButton?: string): void { setup(); // The wrapper is required for backwards compatibility, because some implementations rely on a -- 2.20.1