Skip to content

[v9] Give type hints to scope.setSDKProcessingMetadata() #14341

@lforst

Description

@lforst

Description

Right now the argument passed to scope.setSDKProcessingMetadata() is typed as { [key: string]: unknown; }. We would like to be a bit more strict for certain fields on the metadata and type it as

interface MetadataOrWhatever {
  request?: RequestEventData;
  [key: string]: unknown;
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions