diff --git a/packages/connection-info/src/connection-secrets.spec.ts b/packages/connection-info/src/connection-secrets.spec.ts index 7027f972ae5..852039ddd69 100644 --- a/packages/connection-info/src/connection-secrets.spec.ts +++ b/packages/connection-info/src/connection-secrets.spec.ts @@ -553,9 +553,9 @@ describe('connection secrets', function () { ]; // Create kmsProviders object - const kmsProviders = {}; + const kmsProviders: Record = {}; for (const provider in providers) { - for (const key of providers[provider]) { + for (const key of providers[provider as keyof typeof providers]) { for (const name of providerNames) { kmsProviders[`${provider}:${name}`] = { [key]: 'secret',