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 de74a6f commit 03d85feCopy full SHA for 03d85fe
packages/logging/src/analytics-helpers.ts
@@ -1,9 +1,9 @@
1
import fs from 'fs';
2
import path from 'path';
3
-import type { Analytics as SegmentAnalytics } from '@segment/analytics-node';
+import type { IdentifyParams as SegmentIndetifyParams } from '@segment/analytics-node';
4
5
export type MongoshAnalyticsIdentity = Pick<
6
- Parameters<SegmentAnalytics['identify']>[0],
+ SegmentIndetifyParams,
7
'userId' | 'anonymousId'
8
>;
9
0 commit comments