Fixing logger and compile error

This commit is contained in:
Martin Karkowski 2021-07-27 14:43:28 +02:00
parent 047842de36
commit 2b2be1733e
2 changed files with 3 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*/
import { writeFile } from "fs";
import Logger from "js-logger";
import * as Logger from "js-logger";
import { join } from "path";
import { createFile } from "../helpers/fileMethods";
import { replaceAll } from "../helpers/stringMethods";

View File

@ -40,10 +40,7 @@ export interface IPROCESSMODULE
extends IGenericNopeModule,
IWaMOProcessModule { }
export interface IAVGPLANNER
extends IGenericNopeModule {
}
export type IAVGPLANNER = IGenericNopeModule
const sleep = promisify(setTimeout);
@ -128,7 +125,7 @@ export class WaMoAGVModule extends InjectableNopeBaseModule {
protected _xetics: XETICS;
protected _processModule: IPROCESSMODULE;
protected _avgPlanner: ;
protected _avgPlanner: any;
protected _observers: INopeObserver[] = [];
protected _mqtt: MQTT;