diff --git a/src/logging/IDBLogger.ts b/src/logging/IDBLogger.ts index dcfd3a64..c5fa2a52 100644 --- a/src/logging/IDBLogger.ts +++ b/src/logging/IDBLogger.ts @@ -41,7 +41,7 @@ export class IDBLogger extends BaseLogger { private _queuedItems: QueuedItem[]; // todo: type constructor - constructor(options) { + constructor(options: {name: string, flushInterval?: number, limit?: number, platform: Platform}) { super(options); const {name, flushInterval = 60 * 1000, limit = 3000} = options; this._name = name;