Skip to content

Commit

Permalink
[service-bus] adding back in the null type (Azure#14489)
Browse files Browse the repository at this point in the history
When I restored the legacy option I didn't restore the option for the caller to pass in `null` as well.
  • Loading branch information
richardpark-msft authored Mar 25, 2021
1 parent a5c76e5 commit 5f16b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/servicebus/service-bus/review/service-bus.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ export interface TopicRuntimeProperties {
// @public
export interface TryAddOptions {
// @deprecated (undocumented)
parentSpan?: Span | SpanContext;
parentSpan?: Span | SpanContext | null;
tracingOptions?: OperationTracingOptions;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface TryAddOptions {
/**
* @deprecated Tracing options have been moved to the `tracingOptions` property.
*/
parentSpan?: Span | SpanContext;
parentSpan?: Span | SpanContext | null;
}

/**
Expand Down

0 comments on commit 5f16b84

Please sign in to comment.