feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
1 parent
dd9cd782a7
commit
91f77ea571
55 files changed
+156
-81
No files matched your search
@@ -673,7 +673,7 @@ export class FirstPartyEventLoggingExporter implements LogRecordExporter {
|
||||
(attributes.event_name as string) || (log.body as string) || 'unknown'
|
||||
|
||||
// Extract metadata objects directly (no JSON parsing needed)
|
||||
const coreMetadata = attributes.core_metadata as EventMetadata | undefined
|
||||
const coreMetadata = attributes.core_metadata as unknown as EventMetadata | undefined
|
||||
const userMetadata = attributes.user_metadata as CoreUserData
|
||||
const eventMetadata = (attributes.event_metadata || {}) as Record<
|
||||
string,
|
||||
|
||||
Reference in new issue
Block a user