Skip to content

Commit de74a6f

Browse files
committed
fix: tie it to the identify function
1 parent 009a9b4 commit de74a6f

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 { IdentifyParams as SegmentIdentity } from '@segment/analytics-node';
3+
import type { Analytics as SegmentAnalytics } from '@segment/analytics-node';
44

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

0 commit comments

Comments
 (0)