Skip to content

Commit 5ca950a

Browse files
committed
Add deprecation note
1 parent 85f6df7 commit 5ca950a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)