We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009a9b4 commit de74a6fCopy full SHA for de74a6f
packages/logging/src/analytics-helpers.ts
@@ -1,9 +1,9 @@
1
import fs from 'fs';
2
import path from 'path';
3
-import type { IdentifyParams as SegmentIdentity } from '@segment/analytics-node';
+import type { Analytics as SegmentAnalytics } from '@segment/analytics-node';
4
5
export type MongoshAnalyticsIdentity = Pick<
6
- SegmentIdentity,
+ Parameters<SegmentAnalytics['identify']>[0],
7
'userId' | 'anonymousId'
8
>;
9
0 commit comments