Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(secret-sync): narrow backoff type literal after removing type annotation

Igor Correa3bfd85a0d4cf
diff --git a/backend/src/services/secret-sync/secret-sync-queue.ts b/backend/src/services/secret-sync/secret-sync-queue.ts
index e3c6eeacaa..9ba8999182 100644
--- a/backend/src/services/secret-sync/secret-sync-queue.ts
+++ b/backend/src/services/secret-sync/secret-sync-queue.ts
@@ -76,7 +76,7 @@ import { TProjectSlackConfigDALFactory } from "../slack/project-slack-config-dal
const DEFAULT_SECRET_SYNC_RETRY_CONFIG = {
attempts: 5,
- backoff: { type: "exponential", delay: 3000 }
+ backoff: { type: "exponential" as const, delay: 3000 }
};
export type TSecretSyncQueueFactory = ReturnType<typeof secretSyncQueueFactory>;