From a0c937dfb903ba1240df105a9c6dfbe64afab99d Mon Sep 17 00:00:00 2001 From: Maya Raman Date: Thu, 21 Sep 2023 11:46:35 -0700 Subject: [PATCH] removing explicit typing when can be inferred from default value --- modules/persistence/src/services/connector/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/persistence/src/services/connector/index.ts b/modules/persistence/src/services/connector/index.ts index a43fceb5a..2b1dfe888 100644 --- a/modules/persistence/src/services/connector/index.ts +++ b/modules/persistence/src/services/connector/index.ts @@ -38,7 +38,7 @@ export const db = async () => { }; // all docs should be inserted with the buildId for the run. -export const insert = async (docs: any[], collection: string, buildId: ObjectId, printTime: boolean = false) => { +export const insert = async (docs: any[], collection: string, buildId: ObjectId, printTime = false) => { const timerLabel = `insert - ${collection}`; if (printTime) console.time(timerLabel); const insertSession = await db();