From 85c285ec4c14c97a684398fd9886e9fd79b8f742 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin <6401250+datitisev@users.noreply.github.com> Date: Fri, 29 Oct 2021 18:37:41 -0400 Subject: [PATCH] fix: remove 'typeof' in 'typeof this' from AdminPage#buildSettingComponent params (#3142) --- framework/core/js/src/admin/components/AdminPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/admin/components/AdminPage.tsx b/framework/core/js/src/admin/components/AdminPage.tsx index 7c368999b..a0ad75d0a 100644 --- a/framework/core/js/src/admin/components/AdminPage.tsx +++ b/framework/core/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); }