Skip to content

Commit

Permalink
Use Symbol.for instead
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd committed May 15, 2024
1 parent fa32840 commit ec8b8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/singletons/traceable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const getCurrentRunTree = () => {
return runTree;
};

export const ROOT = Symbol("langsmith:traceable:root");
export const ROOT = Symbol.for("langsmith:traceable:root");

type SmartPromise<T> = T extends AsyncGenerator
? T
Expand Down

0 comments on commit ec8b8bb

Please sign in to comment.