Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/core/src/types-hoist/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
* @default undefined
*
* @param metric The metric generated by the SDK.
* @returns A new metric that will be sent.
* @returns A new metric that will be sent | null.
*/
beforeSendMetric?: (metric: Metric) => Metric;
beforeSendMetric?: (metric: Metric) => Metric | null;

/**
* Function to compute tracing sample rate dynamically and filter unwanted traces.
Expand Down