diff --git a/packages/analytics/src/index.ts b/packages/analytics/src/index.ts index ef2ce3b0d..9ba124bf3 100644 --- a/packages/analytics/src/index.ts +++ b/packages/analytics/src/index.ts @@ -2,6 +2,7 @@ import { AnalyticsClient } from './client'; import { AnalyticsClientInterface, DefaultProperties, JsonMap } from './types'; export * from './types'; + export function configureAnalyticsClient({ client, defaultProperties, @@ -11,5 +12,5 @@ export function configureAnalyticsClient({ defaultProperties: DefaultProperties; defaultTraits?: JsonMap; }) { - return AnalyticsClient(client, { defaultProperties, defaultTraits }); // No need to pass EventProperties + return AnalyticsClient(client, { defaultProperties, defaultTraits }); }