Skip to content

Commit 261cd89

Browse files
committed
partial
1 parent 1a2bebd commit 261cd89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/types/src/span.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ export type SpanAttributeValue =
2323
| Array<null | undefined | number>
2424
| Array<null | undefined | boolean>;
2525

26-
export type SpanAttributes = {
26+
export type SpanAttributes = Partial<{
2727
'sentry.origin': string;
2828
'sentry.op': string;
2929
'sentry.source': string;
3030
'sentry.sample_rate': number;
31-
} & Record<string, SpanAttributeValue | undefined>;
31+
}> &
32+
Record<string, SpanAttributeValue | undefined>;
3233

3334
/** This type is aligned with the OpenTelemetry TimeInput type. */
3435
export type SpanTimeInput = HrTime | number | Date;

0 commit comments

Comments
 (0)