OptionsWithTracingContext type

A utility type for when we know a TracingContext has been set as part of an operation's options.

type OptionsWithTracingContext<Options> = Options & {
  tracingOptions: { tracingContext: TracingContext }
}