diff --git a/app/importer/server/classes/ImportDataConverter.ts b/app/importer/server/classes/ImportDataConverter.ts index c29cf0b52de5..b92fab40d1e0 100644 --- a/app/importer/server/classes/ImportDataConverter.ts +++ b/app/importer/server/classes/ImportDataConverter.ts @@ -12,8 +12,8 @@ import { generateUsernameSuggestion, insertMessage } from '../../../lib/server'; import { setUserActiveStatus } from '../../../lib/server/functions/setUserActiveStatus'; import { IUser } from '../../../../definition/IUser'; -// @ts-ignore -type NullableLogger = Logger | Null; +// @ts-ignore //@ToDo: Add the Logger class definitions. +type FakeLogger = Logger; type IRoom = Record; type IMessage = Record; @@ -64,7 +64,7 @@ export class ImportDataConverter { private _roomNameCache: Map; - private _logger: NullableLogger; + private _logger: FakeLogger; constructor() { this._userCache = new Map(); @@ -73,7 +73,7 @@ export class ImportDataConverter { this._roomNameCache = new Map(); } - setLogger(logger: NullableLogger): void { + setLogger(logger: FakeLogger): void { this._logger = logger; }