diff --git a/packages/opentelemetry-api/src/index.ts b/packages/opentelemetry-api/src/index.ts index 7c5bbd76f5..f1dcf8211a 100644 --- a/packages/opentelemetry-api/src/index.ts +++ b/packages/opentelemetry-api/src/index.ts @@ -62,14 +62,17 @@ export { } from '@opentelemetry/context-base'; import { ContextAPI } from './api/context'; +export type { ContextAPI } from './api/context'; /** Entrypoint for context API */ export const context = ContextAPI.getInstance(); import { TraceAPI } from './api/trace'; +export type { TraceAPI } from './api/trace'; /** Entrypoint for trace API */ export const trace = TraceAPI.getInstance(); import { PropagationAPI } from './api/propagation'; +export type { PropagationAPI } from './api/propagation'; /** Entrypoint for propagation API */ export const propagation = PropagationAPI.getInstance();