diff --git a/js/src/common/states/AlertManagerState.ts b/js/src/common/states/AlertManagerState.ts index 076322ac1..a5e479546 100644 --- a/js/src/common/states/AlertManagerState.ts +++ b/js/src/common/states/AlertManagerState.ts @@ -27,7 +27,7 @@ export default class AlertManagerState { */ show(children: Mithril.Children): AlertIdentifier; show(attrs: AlertAttrs, children: Mithril.Children): AlertIdentifier; - show(componentClass: Alert, attrs: AlertAttrs, children: Mithril.Children): AlertIdentifier; + show(componentClass: typeof Alert, attrs: AlertAttrs, children: Mithril.Children): AlertIdentifier; show(arg1: any, arg2?: any, arg3?: any) { // Assigns variables as per the above signatures