diff --git a/packages/types/src/transaction.ts b/packages/types/src/transaction.ts index 2e44730ac808..be482a2c196e 100644 --- a/packages/types/src/transaction.ts +++ b/packages/types/src/transaction.ts @@ -74,7 +74,7 @@ export interface Transaction extends Omit, Sp * Was this transaction chosen to be sent as part of the sample? * @deprecated Use `spanIsSampled(transaction)` instead. */ - sampled?: boolean; + sampled?: boolean | undefined; /** * @inheritDoc