UNPKG

@langchain/langgraph

Version:

LangGraph

7 lines (6 loc) 285 B
//#region src/writer.d.ts declare function writer<T>(chunk: T): void; type InferWriterType<T> = T extends typeof writer<infer C> ? C : any; // eslint-disable-line @typescript-eslint/no-explicit-any //#endregion export { InferWriterType, writer }; //# sourceMappingURL=writer.d.cts.map