From 286747c23c01074b28ddf29f5e281addb1c31634 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 16 Nov 2021 12:41:03 +0530 Subject: [PATCH] Add type annotation for ctor --- src/logging/IDBLogger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;