diff --git a/packages/node/src/types/config.ts b/packages/node/src/types/config.ts index 0b36946..7a5e9c6 100644 --- a/packages/node/src/types/config.ts +++ b/packages/node/src/types/config.ts @@ -255,12 +255,14 @@ export const AssignmentConfigDefaults: Omit = { cacheCapacity: 65536, }; -export const CohortSyncConfigDefaults: Omit = - { - cohortServerUrl: 'https://cohort-v2.lab.amplitude.com', - maxCohortSize: 2147483647, - cohortPollingIntervalMillis: 60000, - }; +export const CohortSyncConfigDefaults: Omit< + CohortSyncConfig, + 'apiKey' | 'secretKey' +> = { + cohortServerUrl: 'https://cohort-v2.lab.amplitude.com', + maxCohortSize: 2147483647, + cohortPollingIntervalMillis: 60000, +}; export const EU_SERVER_URLS = { name: 'eu',