diff --git a/src/index.ts b/src/index.ts index 1f1d04df..dfd19181 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,20 +29,32 @@ import { startProfiling as _startProfiling } from './profiling'; export { start, stop } from './start'; export { listEnvVars } from './utils'; +/** + * @deprecated Use generic start() function instead + */ export const startMetrics = deprecate( _startMetrics, 'startMetrics is deprecated. Use generic start() and stop() functions instead' ); +/** + * @deprecated Use generic start() function instead + */ export const startProfiling = deprecate( _startProfiling, 'startProfiling is deprecated. Use generic start() and stop() functions instead' ); +/** + * @deprecated Use generic start() function instead + */ export const startTracing = deprecate( _startTracing, 'startTracing is deprecated. Use generic start() and stop() functions instead' ); +/** + * @deprecated Use generic stop() function instead + */ export const stopTracing = deprecate( _stopTracing, 'stopTracing is deprecated. Use generic start() and stop() functions instead'