UNPKG

737 BTypeScriptView Raw
1import { Tracer } from '../index';
2export interface ApiCompatibilityChecksOptions {
3 /** a boolean that controls whether or not to verify certain API functionality */
4 skipBaggageChecks?: boolean;
5 skipInjectExtractChecks?: boolean;
6}
7/**
8 * A function that takes a tracer factory, and tests wheter the initialized tracer
9 * fulfills Opentracing's api requirements.
10 *
11 * @param {object} createTracer - a factory function that allocates a tracer.
12 * @param {object} [options] - the options to be set on api compatibility
13 */
14declare function apiCompatibilityChecks(createTracer?: () => Tracer, options?: ApiCompatibilityChecksOptions): void;
15export default apiCompatibilityChecks;
16//# sourceMappingURL=api_compatibility.d.ts.map
\No newline at end of file