Skip to content

Commit f2c3416

Browse files
committed
Add deprecation note
1 parent 85f6df7 commit f2c3416

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/tracing/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export { Integrations };
2222
export { BrowserTracing } from './browser';
2323

2424
export { Span, SpanStatusType, spanStatusfromHttpCode } from './span';
25+
// eslint-disable-next-line deprecation/deprecation
2526
export { SpanStatus } from './spanstatus';
2627
export { Transaction } from './transaction';
2728
export {

packages/tracing/src/spanstatus.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/** The status of an Span. */
1+
/** The status of an Span.
2+
*
3+
* @deprecated Use string literals - if you require type casting, cast to SpanStatusType type
4+
*/
25
// eslint-disable-next-line import/export
36
export enum SpanStatus {
47
/** The operation completed successfully. */

0 commit comments

Comments
 (0)