mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 04:37:51 +02:00
Merge pull request #1661 from langchain-ai/dqbd/sdk-js-fetch-types
fix(js): don't be strict on JS types for custom fetch
This commit is contained in:
@@ -37,7 +37,7 @@ export interface AsyncCallerParams {
|
||||
*
|
||||
* By default we expect the `fetch` is available in the global scope.
|
||||
*/
|
||||
fetch?: typeof fetch;
|
||||
fetch?: typeof fetch | ((...args: any[]) => any);
|
||||
}
|
||||
|
||||
export interface AsyncCallerCallOptions {
|
||||
|
||||
Reference in New Issue
Block a user