UNPKG

413 BTypeScriptView Raw
1import type { Options } from '@sentry/types';
2/**
3 * Determines if tracing is currently enabled.
4 *
5 * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.
6 */
7export declare function hasTracingEnabled(maybeOptions?: Pick<Options, 'tracesSampleRate' | 'tracesSampler' | 'enableTracing'> | undefined): boolean;
8//# sourceMappingURL=hasTracingEnabled.d.ts.map
\No newline at end of file