Skip to content

Commit 03d85fe

Browse files
committed
fix: import identify params instead
1 parent de74a6f commit 03d85fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/logging/src/analytics-helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import fs from 'fs';
22
import path from 'path';
3-
import type { Analytics as SegmentAnalytics } from '@segment/analytics-node';
3+
import type { IdentifyParams as SegmentIndetifyParams } from '@segment/analytics-node';
44

55
export type MongoshAnalyticsIdentity = Pick<
6-
Parameters<SegmentAnalytics['identify']>[0],
6+
SegmentIndetifyParams,
77
'userId' | 'anonymousId'
88
>;
99

0 commit comments

Comments
 (0)