From 4c6c2ff0c7b810a2b340dc6bef2e85bb7048cc23 Mon Sep 17 00:00:00 2001 From: Ruben Thoms Date: Fri, 13 Oct 2023 11:32:07 +0200 Subject: [PATCH] Fixed wrong type --- frontend/src/framework/StatusWriter.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/frontend/src/framework/StatusWriter.ts b/frontend/src/framework/StatusWriter.ts index 1169b1fc5..a71aa4266 100644 --- a/frontend/src/framework/StatusWriter.ts +++ b/frontend/src/framework/StatusWriter.ts @@ -1,13 +1,12 @@ import React from "react"; import { ModuleContext } from "./ModuleContext"; -import { StatusMessageType, StatusSource } from "./ModuleInstanceStatusController"; -import { ModuleInstanceStatusControllerInternal } from "./internal/ModuleInstanceStatusControllerInternal"; +import { ModuleInstanceStatusController, StatusMessageType, StatusSource } from "./ModuleInstanceStatusController"; export class ViewStatusWriter { - private _statusController: ModuleInstanceStatusControllerInternal; + private _statusController: ModuleInstanceStatusController; - constructor(statusController: ModuleInstanceStatusControllerInternal) { + constructor(statusController: ModuleInstanceStatusController) { this._statusController = statusController; } @@ -29,9 +28,9 @@ export class ViewStatusWriter { } export class SettingsStatusWriter { - private _statusController: ModuleInstanceStatusControllerInternal; + private _statusController: ModuleInstanceStatusController; - constructor(statusController: ModuleInstanceStatusControllerInternal) { + constructor(statusController: ModuleInstanceStatusController) { this._statusController = statusController; }