Skip to content

Commit

Permalink
chore(js): reexport TraceableFunction type from singleton (#716)
Browse files Browse the repository at this point in the history
As `langsmith/singletons/traceable` is an entrypoint from langchain as
well, we need to reexport the type
  • Loading branch information
dqbd authored May 20, 2024
2 parents 1d8ee36 + 6f56a9b commit 7fc116a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/singletons/traceable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ export function isTraceableFunction(
): x is TraceableFunction<any> {
return typeof x === "function" && "langsmith:traceable" in x;
}

export type { TraceableFunction } from "./types.js";

0 comments on commit 7fc116a

Please sign in to comment.