From ae65ecd117b5ec9fb4494adf537c4a6d35343f20 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin Date: Fri, 29 Oct 2021 18:23:02 -0400 Subject: [PATCH] Remove 'typeof' in 'typeof this' from AdminPage#buildSettingComponent params --- js/src/admin/components/AdminPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/admin/components/AdminPage.tsx b/js/src/admin/components/AdminPage.tsx index 7c368999bb..a0ad75d0a7 100644 --- a/js/src/admin/components/AdminPage.tsx +++ b/js/src/admin/components/AdminPage.tsx @@ -201,7 +201,7 @@ export default abstract class AdminPageMy cool component

; * } */ - buildSettingComponent(entry: ((this: typeof this) => Mithril.Children) | SettingsComponentOptions): Mithril.Children { + buildSettingComponent(entry: ((this: this) => Mithril.Children) | SettingsComponentOptions): Mithril.Children { if (typeof entry === 'function') { return entry.call(this); }