Skip to content

Commit 5f16b84

Browse files
[service-bus] adding back in the null type (Azure#14489)
When I restored the legacy option I didn't restore the option for the caller to pass in `null` as well.
1 parent a5c76e5 commit 5f16b84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/servicebus/service-bus/review/service-bus.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ export interface TopicRuntimeProperties {
569569
// @public
570570
export interface TryAddOptions {
571571
// @deprecated (undocumented)
572-
parentSpan?: Span | SpanContext;
572+
parentSpan?: Span | SpanContext | null;
573573
tracingOptions?: OperationTracingOptions;
574574
}
575575

sdk/servicebus/service-bus/src/modelsToBeSharedWithEventHubs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface TryAddOptions {
2626
/**
2727
* @deprecated Tracing options have been moved to the `tracingOptions` property.
2828
*/
29-
parentSpan?: Span | SpanContext;
29+
parentSpan?: Span | SpanContext | null;
3030
}
3131

3232
/**

0 commit comments

Comments
 (0)